<!DOCTYPE html>












  


<html class="theme-next gemini use-motion" lang="zh-CN">
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
























<link rel="stylesheet" href="/yykrlc_bolg/lib/font-awesome/css/font-awesome.min.css?v=4.6.2">

<link rel="stylesheet" href="/yykrlc_bolg/css/main.css?v=7.1.1">


  <link rel="apple-touch-icon" sizes="180x180" href="/yykrlc_bolg/images/apple-touch-icon-next.png?v=7.1.1">


  <link rel="icon" type="image/png" sizes="32x32" href="/yykrlc_bolg/images/favicon-32x32-next.png?v=7.1.1">


  <link rel="icon" type="image/png" sizes="16x16" href="/yykrlc_bolg/images/favicon-16x16-next.png?v=7.1.1">


  <link rel="mask-icon" href="/yykrlc_bolg/images/logo.svg?v=7.1.1" color="#222">







<script id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/yykrlc_bolg/',
    scheme: 'Gemini',
    version: '7.1.1',
    sidebar: {"position":"left","display":"post","offset":12,"onmobile":false,"dimmer":false},
    back2top: true,
    back2top_sidebar: false,
    fancybox: false,
    fastclick: false,
    lazyload: false,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>


  




  <meta name="description" content="12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210">
<meta name="keywords" content="python">
<meta property="og:type" content="article">
<meta property="og:title" content="hexo-next7 的配置参考">
<meta property="og:url" content="http://yoursite.com/2019/05/16/config/index.html">
<meta property="og:site_name" content="Khaki">
<meta property="og:description" content="12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210">
<meta property="og:locale" content="zh-CN">
<meta property="og:updated_time" content="2019-05-20T11:59:00.296Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="hexo-next7 的配置参考">
<meta name="twitter:description" content="12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210">





  
  
  <link rel="canonical" href="http://yoursite.com/2019/05/16/config/">



<script id="page.configurations">
  CONFIG.page = {
    sidebar: "",
  };
</script>

  <title>hexo-next7 的配置参考 | Khaki</title>
  












  <noscript>
  <style>
  .use-motion .motion-element,
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-title { opacity: initial; }

  .use-motion .logo,
  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-CN">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta custom-logo">
    

    <div class="custom-logo-site-title">
      <a href="/yykrlc_bolg/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">Khaki</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
    
      
        <p class="site-subtitle">笔记本</p>
      
    
    
      <a>
        <img class="custom-logo-image" src="/yykrlc_bolg/images/custom_logo.jpg" alt="Khaki">
      </a>
    
  </div>

  <div class="site-nav-toggle">
    <button aria-label="切换导航栏">
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>



<nav class="site-nav">
  
    <ul id="menu" class="menu">
      
        
        
        
          
          <li class="menu-item menu-item-home">

    
    
    
      
    

    

    <a href="/yykrlc_bolg/" rel="section"><i class="menu-item-icon fa fa-fw fa-home"></i> <br>首页</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-tags">

    
    
    
      
    

    

    <a href="/yykrlc_bolg/tags/" rel="section"><i class="menu-item-icon fa fa-fw fa-tags"></i> <br>标签</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-categories">

    
    
    
      
    

    

    <a href="/yykrlc_bolg/categories/" rel="section"><i class="menu-item-icon fa fa-fw fa-th"></i> <br>分类</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-archives">

    
    
    
      
    

    

    <a href="/yykrlc_bolg/archives/" rel="section"><i class="menu-item-icon fa fa-fw fa-archive"></i> <br>归档</a>

  </li>

      
      
        <li class="menu-item menu-item-search">
          
            <a href="javascript:;" class="popup-trigger">
          
            
              <i class="menu-item-icon fa fa-search fa-fw"></i> <br>搜索</a>
        </li>
      
    </ul>
  

  

  
    <div class="site-search">
      
  <div class="popup search-popup local-search-popup">
  <div class="local-search-header clearfix">
    <span class="search-icon">
      <i class="fa fa-search"></i>
    </span>
    <span class="popup-btn-close">
      <i class="fa fa-times-circle"></i>
    </span>
    <div class="local-search-input-wrapper">
      <input autocomplete="off" placeholder="搜索..." spellcheck="false" type="text" id="local-search-input">
    </div>
  </div>
  <div id="local-search-result"></div>
</div>



    </div>
  
</nav>



  



</div>
    </header>

    
  
  

  

  <a href="https://github.com/yykrlc" class="github-corner" title="点我啊" aria-label="点我啊" rel="noopener" target="_blank"><svg width="80" height="80" viewbox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"/><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"/><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"/></svg></a>



    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          
            

          
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  
    <div class="reading-progress-bar"></div>
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/yykrlc_bolg/2019/05/16/config/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="yykrlc">
      <meta itemprop="description" content="驰聘于日月兮 徘徊于池上">
      <meta itemprop="image" content="/yykrlc_bolg/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Khaki">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">hexo-next7 的配置参考

              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">

            
            
            

            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2019-05-16 19:43:41" itemprop="dateCreated datePublished" datetime="2019-05-16T19:43:41+08:00">2019-05-16</time>
            

            
              

              
                
                <span class="post-meta-divider">|</span>
                

                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                
                  <span class="post-meta-item-text">更新于</span>
                
                <time title="修改时间：2019-05-20 19:59:00" itemprop="dateModified" datetime="2019-05-20T19:59:00+08:00">2019-05-20</time>
              
            
          </span>

          
            <span class="post-category">
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/yykrlc_bolg/categories/python/" itemprop="url" rel="index"><span itemprop="name">python</span></a></span>

                
                
              
            </span>
          

          
            
            
              
              <span class="post-comments-count">
                <span class="post-meta-divider">|</span>
                <span class="post-meta-item-icon">
                  <i class="fa fa-comment-o"></i>
                </span>
            
              
                <span class="post-meta-item-text">评论数：</span>
                <a href="/yykrlc_bolg/2019/05/16/config/#SOHUCS" itemprop="discussionUrl">
                  <span id="changyan_count_unit" class="post-comments-count hc-comment-count" data-xid="2019/05/16/config/" itemprop="commentCount"></span>
                </a>
              
            
          

          
          

          

          

          

        </span></div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br><span class="line">144</span><br><span class="line">145</span><br><span class="line">146</span><br><span class="line">147</span><br><span class="line">148</span><br><span class="line">149</span><br><span class="line">150</span><br><span class="line">151</span><br><span class="line">152</span><br><span class="line">153</span><br><span class="line">154</span><br><span class="line">155</span><br><span class="line">156</span><br><span class="line">157</span><br><span class="line">158</span><br><span class="line">159</span><br><span class="line">160</span><br><span class="line">161</span><br><span class="line">162</span><br><span class="line">163</span><br><span class="line">164</span><br><span class="line">165</span><br><span class="line">166</span><br><span class="line">167</span><br><span class="line">168</span><br><span class="line">169</span><br><span class="line">170</span><br><span class="line">171</span><br><span class="line">172</span><br><span class="line">173</span><br><span class="line">174</span><br><span class="line">175</span><br><span class="line">176</span><br><span class="line">177</span><br><span class="line">178</span><br><span class="line">179</span><br><span class="line">180</span><br><span class="line">181</span><br><span class="line">182</span><br><span class="line">183</span><br><span class="line">184</span><br><span class="line">185</span><br><span class="line">186</span><br><span class="line">187</span><br><span class="line">188</span><br><span class="line">189</span><br><span class="line">190</span><br><span class="line">191</span><br><span class="line">192</span><br><span class="line">193</span><br><span class="line">194</span><br><span class="line">195</span><br><span class="line">196</span><br><span class="line">197</span><br><span class="line">198</span><br><span class="line">199</span><br><span class="line">200</span><br><span class="line">201</span><br><span class="line">202</span><br><span class="line">203</span><br><span class="line">204</span><br><span class="line">205</span><br><span class="line">206</span><br><span class="line">207</span><br><span class="line">208</span><br><span class="line">209</span><br><span class="line">210</span><br><span class="line">211</span><br><span class="line">212</span><br><span class="line">213</span><br><span class="line">214</span><br><span class="line">215</span><br><span class="line">216</span><br><span class="line">217</span><br><span class="line">218</span><br><span class="line">219</span><br><span class="line">220</span><br><span class="line">221</span><br><span class="line">222</span><br><span class="line">223</span><br><span class="line">224</span><br><span class="line">225</span><br><span class="line">226</span><br><span class="line">227</span><br><span class="line">228</span><br><span class="line">229</span><br><span class="line">230</span><br><span class="line">231</span><br><span class="line">232</span><br><span class="line">233</span><br><span class="line">234</span><br><span class="line">235</span><br><span class="line">236</span><br><span class="line">237</span><br><span class="line">238</span><br><span class="line">239</span><br><span class="line">240</span><br><span class="line">241</span><br><span class="line">242</span><br><span class="line">243</span><br><span class="line">244</span><br><span class="line">245</span><br><span class="line">246</span><br><span class="line">247</span><br><span class="line">248</span><br><span class="line">249</span><br><span class="line">250</span><br><span class="line">251</span><br><span class="line">252</span><br><span class="line">253</span><br><span class="line">254</span><br><span class="line">255</span><br><span class="line">256</span><br><span class="line">257</span><br><span class="line">258</span><br><span class="line">259</span><br><span class="line">260</span><br><span class="line">261</span><br><span class="line">262</span><br><span class="line">263</span><br><span class="line">264</span><br><span class="line">265</span><br><span class="line">266</span><br><span class="line">267</span><br><span class="line">268</span><br><span class="line">269</span><br><span class="line">270</span><br><span class="line">271</span><br><span class="line">272</span><br><span class="line">273</span><br><span class="line">274</span><br><span class="line">275</span><br><span class="line">276</span><br><span class="line">277</span><br><span class="line">278</span><br><span class="line">279</span><br><span class="line">280</span><br><span class="line">281</span><br><span class="line">282</span><br><span class="line">283</span><br><span class="line">284</span><br><span class="line">285</span><br><span class="line">286</span><br><span class="line">287</span><br><span class="line">288</span><br><span class="line">289</span><br><span class="line">290</span><br><span class="line">291</span><br><span class="line">292</span><br><span class="line">293</span><br><span class="line">294</span><br><span class="line">295</span><br><span class="line">296</span><br><span class="line">297</span><br><span class="line">298</span><br><span class="line">299</span><br><span class="line">300</span><br><span class="line">301</span><br><span class="line">302</span><br><span class="line">303</span><br><span class="line">304</span><br><span class="line">305</span><br><span class="line">306</span><br><span class="line">307</span><br><span class="line">308</span><br><span class="line">309</span><br><span class="line">310</span><br><span class="line">311</span><br><span class="line">312</span><br><span class="line">313</span><br><span class="line">314</span><br><span class="line">315</span><br><span class="line">316</span><br><span class="line">317</span><br><span class="line">318</span><br><span class="line">319</span><br><span class="line">320</span><br><span class="line">321</span><br><span class="line">322</span><br><span class="line">323</span><br><span class="line">324</span><br><span class="line">325</span><br><span class="line">326</span><br><span class="line">327</span><br><span class="line">328</span><br><span class="line">329</span><br><span class="line">330</span><br><span class="line">331</span><br><span class="line">332</span><br><span class="line">333</span><br><span class="line">334</span><br><span class="line">335</span><br><span class="line">336</span><br><span class="line">337</span><br><span class="line">338</span><br><span class="line">339</span><br><span class="line">340</span><br><span class="line">341</span><br><span class="line">342</span><br><span class="line">343</span><br><span class="line">344</span><br><span class="line">345</span><br><span class="line">346</span><br><span class="line">347</span><br><span class="line">348</span><br><span class="line">349</span><br><span class="line">350</span><br><span class="line">351</span><br><span class="line">352</span><br><span class="line">353</span><br><span class="line">354</span><br><span class="line">355</span><br><span class="line">356</span><br><span class="line">357</span><br><span class="line">358</span><br><span class="line">359</span><br><span class="line">360</span><br><span class="line">361</span><br><span class="line">362</span><br><span class="line">363</span><br><span class="line">364</span><br><span class="line">365</span><br><span class="line">366</span><br><span class="line">367</span><br><span class="line">368</span><br><span class="line">369</span><br><span class="line">370</span><br><span class="line">371</span><br><span class="line">372</span><br><span class="line">373</span><br><span class="line">374</span><br><span class="line">375</span><br><span class="line">376</span><br><span class="line">377</span><br><span class="line">378</span><br><span class="line">379</span><br><span class="line">380</span><br><span class="line">381</span><br><span class="line">382</span><br><span class="line">383</span><br><span class="line">384</span><br><span class="line">385</span><br><span class="line">386</span><br><span class="line">387</span><br><span class="line">388</span><br><span class="line">389</span><br><span class="line">390</span><br><span class="line">391</span><br><span class="line">392</span><br><span class="line">393</span><br><span class="line">394</span><br><span class="line">395</span><br><span class="line">396</span><br><span class="line">397</span><br><span class="line">398</span><br><span class="line">399</span><br><span class="line">400</span><br><span class="line">401</span><br><span class="line">402</span><br><span class="line">403</span><br><span class="line">404</span><br><span class="line">405</span><br><span class="line">406</span><br><span class="line">407</span><br><span class="line">408</span><br><span class="line">409</span><br><span class="line">410</span><br><span class="line">411</span><br><span class="line">412</span><br><span class="line">413</span><br><span class="line">414</span><br><span class="line">415</span><br><span class="line">416</span><br><span class="line">417</span><br><span class="line">418</span><br><span class="line">419</span><br><span class="line">420</span><br><span class="line">421</span><br><span class="line">422</span><br><span class="line">423</span><br><span class="line">424</span><br><span class="line">425</span><br><span class="line">426</span><br><span class="line">427</span><br><span class="line">428</span><br><span class="line">429</span><br><span class="line">430</span><br><span class="line">431</span><br><span class="line">432</span><br><span class="line">433</span><br><span class="line">434</span><br><span class="line">435</span><br><span class="line">436</span><br><span class="line">437</span><br><span class="line">438</span><br><span class="line">439</span><br><span class="line">440</span><br><span class="line">441</span><br><span class="line">442</span><br><span class="line">443</span><br><span class="line">444</span><br><span class="line">445</span><br><span class="line">446</span><br><span class="line">447</span><br><span class="line">448</span><br><span class="line">449</span><br><span class="line">450</span><br><span class="line">451</span><br><span class="line">452</span><br><span class="line">453</span><br><span class="line">454</span><br><span class="line">455</span><br><span class="line">456</span><br><span class="line">457</span><br><span class="line">458</span><br><span class="line">459</span><br><span class="line">460</span><br><span class="line">461</span><br><span class="line">462</span><br><span class="line">463</span><br><span class="line">464</span><br><span class="line">465</span><br><span class="line">466</span><br><span class="line">467</span><br><span class="line">468</span><br><span class="line">469</span><br><span class="line">470</span><br><span class="line">471</span><br><span class="line">472</span><br><span class="line">473</span><br><span class="line">474</span><br><span class="line">475</span><br><span class="line">476</span><br><span class="line">477</span><br><span class="line">478</span><br><span class="line">479</span><br><span class="line">480</span><br><span class="line">481</span><br><span class="line">482</span><br><span class="line">483</span><br><span class="line">484</span><br><span class="line">485</span><br><span class="line">486</span><br><span class="line">487</span><br><span class="line">488</span><br><span class="line">489</span><br><span class="line">490</span><br><span class="line">491</span><br><span class="line">492</span><br><span class="line">493</span><br><span class="line">494</span><br><span class="line">495</span><br><span class="line">496</span><br><span class="line">497</span><br><span class="line">498</span><br><span class="line">499</span><br><span class="line">500</span><br><span class="line">501</span><br><span class="line">502</span><br><span class="line">503</span><br><span class="line">504</span><br><span class="line">505</span><br><span class="line">506</span><br><span class="line">507</span><br><span class="line">508</span><br><span class="line">509</span><br><span class="line">510</span><br><span class="line">511</span><br><span class="line">512</span><br><span class="line">513</span><br><span class="line">514</span><br><span class="line">515</span><br><span class="line">516</span><br><span class="line">517</span><br><span class="line">518</span><br><span class="line">519</span><br><span class="line">520</span><br><span class="line">521</span><br><span class="line">522</span><br><span class="line">523</span><br><span class="line">524</span><br><span class="line">525</span><br><span class="line">526</span><br><span class="line">527</span><br><span class="line">528</span><br><span class="line">529</span><br><span class="line">530</span><br><span class="line">531</span><br><span class="line">532</span><br><span class="line">533</span><br><span class="line">534</span><br><span class="line">535</span><br><span class="line">536</span><br><span class="line">537</span><br><span class="line">538</span><br><span class="line">539</span><br><span class="line">540</span><br><span class="line">541</span><br><span class="line">542</span><br><span class="line">543</span><br><span class="line">544</span><br><span class="line">545</span><br><span class="line">546</span><br><span class="line">547</span><br><span class="line">548</span><br><span class="line">549</span><br><span class="line">550</span><br><span class="line">551</span><br><span class="line">552</span><br><span class="line">553</span><br><span class="line">554</span><br><span class="line">555</span><br><span class="line">556</span><br><span class="line">557</span><br><span class="line">558</span><br><span class="line">559</span><br><span class="line">560</span><br><span class="line">561</span><br><span class="line">562</span><br><span class="line">563</span><br><span class="line">564</span><br><span class="line">565</span><br><span class="line">566</span><br><span class="line">567</span><br><span class="line">568</span><br><span class="line">569</span><br><span class="line">570</span><br><span class="line">571</span><br><span class="line">572</span><br><span class="line">573</span><br><span class="line">574</span><br><span class="line">575</span><br><span class="line">576</span><br><span class="line">577</span><br><span class="line">578</span><br><span class="line">579</span><br><span class="line">580</span><br><span class="line">581</span><br><span class="line">582</span><br><span class="line">583</span><br><span class="line">584</span><br><span class="line">585</span><br><span class="line">586</span><br><span class="line">587</span><br><span class="line">588</span><br><span class="line">589</span><br><span class="line">590</span><br><span class="line">591</span><br><span class="line">592</span><br><span class="line">593</span><br><span class="line">594</span><br><span class="line">595</span><br><span class="line">596</span><br><span class="line">597</span><br><span class="line">598</span><br><span class="line">599</span><br><span class="line">600</span><br><span class="line">601</span><br><span class="line">602</span><br><span class="line">603</span><br><span class="line">604</span><br><span class="line">605</span><br><span class="line">606</span><br><span class="line">607</span><br><span class="line">608</span><br><span class="line">609</span><br><span class="line">610</span><br><span class="line">611</span><br><span class="line">612</span><br><span class="line">613</span><br><span class="line">614</span><br><span class="line">615</span><br><span class="line">616</span><br><span class="line">617</span><br><span class="line">618</span><br><span class="line">619</span><br><span class="line">620</span><br><span class="line">621</span><br><span class="line">622</span><br><span class="line">623</span><br><span class="line">624</span><br><span class="line">625</span><br><span class="line">626</span><br><span class="line">627</span><br><span class="line">628</span><br><span class="line">629</span><br><span class="line">630</span><br><span class="line">631</span><br><span class="line">632</span><br><span class="line">633</span><br><span class="line">634</span><br><span class="line">635</span><br><span class="line">636</span><br><span class="line">637</span><br><span class="line">638</span><br><span class="line">639</span><br><span class="line">640</span><br><span class="line">641</span><br><span class="line">642</span><br><span class="line">643</span><br><span class="line">644</span><br><span class="line">645</span><br><span class="line">646</span><br><span class="line">647</span><br><span class="line">648</span><br><span class="line">649</span><br><span class="line">650</span><br><span class="line">651</span><br><span class="line">652</span><br><span class="line">653</span><br><span class="line">654</span><br><span class="line">655</span><br><span class="line">656</span><br><span class="line">657</span><br><span class="line">658</span><br><span class="line">659</span><br><span class="line">660</span><br><span class="line">661</span><br><span class="line">662</span><br><span class="line">663</span><br><span class="line">664</span><br><span class="line">665</span><br><span class="line">666</span><br><span class="line">667</span><br><span class="line">668</span><br><span class="line">669</span><br><span class="line">670</span><br><span class="line">671</span><br><span class="line">672</span><br><span class="line">673</span><br><span class="line">674</span><br><span class="line">675</span><br><span class="line">676</span><br><span class="line">677</span><br><span class="line">678</span><br><span class="line">679</span><br><span class="line">680</span><br><span class="line">681</span><br><span class="line">682</span><br><span class="line">683</span><br><span class="line">684</span><br><span class="line">685</span><br><span class="line">686</span><br><span class="line">687</span><br><span class="line">688</span><br><span class="line">689</span><br><span class="line">690</span><br><span class="line">691</span><br><span class="line">692</span><br><span class="line">693</span><br><span class="line">694</span><br><span class="line">695</span><br><span class="line">696</span><br><span class="line">697</span><br><span class="line">698</span><br><span class="line">699</span><br><span class="line">700</span><br><span class="line">701</span><br><span class="line">702</span><br><span class="line">703</span><br><span class="line">704</span><br><span class="line">705</span><br><span class="line">706</span><br><span class="line">707</span><br><span class="line">708</span><br><span class="line">709</span><br><span class="line">710</span><br><span class="line">711</span><br><span class="line">712</span><br><span class="line">713</span><br><span class="line">714</span><br><span class="line">715</span><br><span class="line">716</span><br><span class="line">717</span><br><span class="line">718</span><br><span class="line">719</span><br><span class="line">720</span><br><span class="line">721</span><br><span class="line">722</span><br><span class="line">723</span><br><span class="line">724</span><br><span class="line">725</span><br><span class="line">726</span><br><span class="line">727</span><br><span class="line">728</span><br><span class="line">729</span><br><span class="line">730</span><br><span class="line">731</span><br><span class="line">732</span><br><span class="line">733</span><br><span class="line">734</span><br><span class="line">735</span><br><span class="line">736</span><br><span class="line">737</span><br><span class="line">738</span><br><span class="line">739</span><br><span class="line">740</span><br><span class="line">741</span><br><span class="line">742</span><br><span class="line">743</span><br><span class="line">744</span><br><span class="line">745</span><br><span class="line">746</span><br><span class="line">747</span><br><span class="line">748</span><br><span class="line">749</span><br><span class="line">750</span><br><span class="line">751</span><br><span class="line">752</span><br><span class="line">753</span><br><span class="line">754</span><br><span class="line">755</span><br><span class="line">756</span><br><span class="line">757</span><br><span class="line">758</span><br><span class="line">759</span><br><span class="line">760</span><br><span class="line">761</span><br><span class="line">762</span><br><span class="line">763</span><br><span class="line">764</span><br><span class="line">765</span><br><span class="line">766</span><br><span class="line">767</span><br><span class="line">768</span><br><span class="line">769</span><br><span class="line">770</span><br><span class="line">771</span><br><span class="line">772</span><br><span class="line">773</span><br><span class="line">774</span><br><span class="line">775</span><br><span class="line">776</span><br><span class="line">777</span><br><span class="line">778</span><br><span class="line">779</span><br><span class="line">780</span><br><span class="line">781</span><br><span class="line">782</span><br><span class="line">783</span><br><span class="line">784</span><br><span class="line">785</span><br><span class="line">786</span><br><span class="line">787</span><br><span class="line">788</span><br><span class="line">789</span><br><span class="line">790</span><br><span class="line">791</span><br><span class="line">792</span><br><span class="line">793</span><br><span class="line">794</span><br><span class="line">795</span><br><span class="line">796</span><br><span class="line">797</span><br><span class="line">798</span><br><span class="line">799</span><br><span class="line">800</span><br><span class="line">801</span><br><span class="line">802</span><br><span class="line">803</span><br><span class="line">804</span><br><span class="line">805</span><br><span class="line">806</span><br><span class="line">807</span><br><span class="line">808</span><br><span class="line">809</span><br><span class="line">810</span><br><span class="line">811</span><br><span class="line">812</span><br><span class="line">813</span><br><span class="line">814</span><br><span class="line">815</span><br><span class="line">816</span><br><span class="line">817</span><br><span class="line">818</span><br><span class="line">819</span><br><span class="line">820</span><br><span class="line">821</span><br><span class="line">822</span><br><span class="line">823</span><br><span class="line">824</span><br><span class="line">825</span><br><span class="line">826</span><br><span class="line">827</span><br><span class="line">828</span><br><span class="line">829</span><br><span class="line">830</span><br><span class="line">831</span><br><span class="line">832</span><br><span class="line">833</span><br><span class="line">834</span><br><span class="line">835</span><br><span class="line">836</span><br><span class="line">837</span><br><span class="line">838</span><br><span class="line">839</span><br><span class="line">840</span><br><span class="line">841</span><br><span class="line">842</span><br><span class="line">843</span><br><span class="line">844</span><br><span class="line">845</span><br><span class="line">846</span><br><span class="line">847</span><br><span class="line">848</span><br><span class="line">849</span><br><span class="line">850</span><br><span class="line">851</span><br><span class="line">852</span><br><span class="line">853</span><br><span class="line">854</span><br><span class="line">855</span><br><span class="line">856</span><br><span class="line">857</span><br><span class="line">858</span><br><span class="line">859</span><br><span class="line">860</span><br><span class="line">861</span><br><span class="line">862</span><br><span class="line">863</span><br><span class="line">864</span><br><span class="line">865</span><br><span class="line">866</span><br><span class="line">867</span><br><span class="line">868</span><br><span class="line">869</span><br><span class="line">870</span><br><span class="line">871</span><br><span class="line">872</span><br><span class="line">873</span><br><span class="line">874</span><br><span class="line">875</span><br><span class="line">876</span><br><span class="line">877</span><br><span class="line">878</span><br><span class="line">879</span><br><span class="line">880</span><br><span class="line">881</span><br><span class="line">882</span><br><span class="line">883</span><br><span class="line">884</span><br><span class="line">885</span><br><span class="line">886</span><br><span class="line">887</span><br><span class="line">888</span><br><span class="line">889</span><br><span class="line">890</span><br><span class="line">891</span><br><span class="line">892</span><br><span class="line">893</span><br><span class="line">894</span><br><span class="line">895</span><br><span class="line">896</span><br><span class="line">897</span><br><span class="line">898</span><br><span class="line">899</span><br><span class="line">900</span><br><span class="line">901</span><br><span class="line">902</span><br><span class="line">903</span><br><span class="line">904</span><br><span class="line">905</span><br><span class="line">906</span><br><span class="line">907</span><br><span class="line">908</span><br><span class="line">909</span><br><span class="line">910</span><br><span class="line">911</span><br><span class="line">912</span><br><span class="line">913</span><br><span class="line">914</span><br><span class="line">915</span><br><span class="line">916</span><br><span class="line">917</span><br><span class="line">918</span><br><span class="line">919</span><br><span class="line">920</span><br><span class="line">921</span><br><span class="line">922</span><br><span class="line">923</span><br><span class="line">924</span><br><span class="line">925</span><br><span class="line">926</span><br><span class="line">927</span><br><span class="line">928</span><br><span class="line">929</span><br><span class="line">930</span><br><span class="line">931</span><br><span class="line">932</span><br><span class="line">933</span><br><span class="line">934</span><br><span class="line">935</span><br><span class="line">936</span><br><span class="line">937</span><br><span class="line">938</span><br><span class="line">939</span><br><span class="line">940</span><br><span class="line">941</span><br><span class="line">942</span><br><span class="line">943</span><br><span class="line">944</span><br><span class="line">945</span><br><span class="line">946</span><br><span class="line">947</span><br><span class="line">948</span><br><span class="line">949</span><br><span class="line">950</span><br><span class="line">951</span><br><span class="line">952</span><br><span class="line">953</span><br><span class="line">954</span><br><span class="line">955</span><br><span class="line">956</span><br><span class="line">957</span><br><span class="line">958</span><br><span class="line">959</span><br><span class="line">960</span><br><span class="line">961</span><br><span class="line">962</span><br><span class="line">963</span><br><span class="line">964</span><br><span class="line">965</span><br><span class="line">966</span><br><span class="line">967</span><br><span class="line">968</span><br><span class="line">969</span><br><span class="line">970</span><br><span class="line">971</span><br><span class="line">972</span><br><span class="line">973</span><br><span class="line">974</span><br><span class="line">975</span><br><span class="line">976</span><br><span class="line">977</span><br><span class="line">978</span><br><span class="line">979</span><br><span class="line">980</span><br><span class="line">981</span><br><span class="line">982</span><br><span class="line">983</span><br><span class="line">984</span><br><span class="line">985</span><br><span class="line">986</span><br><span class="line">987</span><br><span class="line">988</span><br><span class="line">989</span><br><span class="line">990</span><br><span class="line">991</span><br><span class="line">992</span><br><span class="line">993</span><br><span class="line">994</span><br><span class="line">995</span><br><span class="line">996</span><br><span class="line">997</span><br><span class="line">998</span><br><span class="line">999</span><br><span class="line">1000</span><br><span class="line">1001</span><br><span class="line">1002</span><br><span class="line">1003</span><br><span class="line">1004</span><br><span class="line">1005</span><br><span class="line">1006</span><br><span class="line">1007</span><br><span class="line">1008</span><br><span class="line">1009</span><br><span class="line">1010</span><br><span class="line">1011</span><br><span class="line">1012</span><br><span class="line">1013</span><br><span class="line">1014</span><br><span class="line">1015</span><br><span class="line">1016</span><br><span class="line">1017</span><br><span class="line">1018</span><br><span class="line">1019</span><br><span class="line">1020</span><br><span class="line">1021</span><br><span class="line">1022</span><br><span class="line">1023</span><br><span class="line">1024</span><br><span class="line">1025</span><br><span class="line">1026</span><br><span class="line">1027</span><br><span class="line">1028</span><br><span class="line">1029</span><br><span class="line">1030</span><br><span class="line">1031</span><br><span class="line">1032</span><br><span class="line">1033</span><br><span class="line">1034</span><br><span class="line">1035</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># Theme Core配置设置</span></span><br><span class="line"><span class="comment"># 参见: https: </span></span><br><span class="line">//theme-next.org/docs/theme-settings/<span class="comment"># ----------- -------------------------------------------------- -</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 如果为false，则将`_data / next.yml`中的配置合并为默认配置(重写).</span></span><br><span class="line"><span class="comment"># 如果为true，将完全覆盖来自`_data / next.yml`(覆盖)的选项的默认配置.仅适用于NexT设置.</span></span><br><span class="line"><span class="comment"># 如果为true，则必须将默认NexT`_config.yml`中的所有配置复制到`next.yml`中.如果您知道自己在做什么，请使用.</span></span><br><span class="line"><span class="comment"># 如果你想在不编辑默认配置的情况下用`next.yml`来评论来自NexT`_config.yml`的一些选项，这很有用.</span></span><br><span class="line">override: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 允许缓存内容生成.在NexT v6.0.0中引入.</span></span><br><span class="line">cache: <span class="built_in">enable</span>: <span class="literal">true</span></span><br><span class="line">  </span><br><span class="line"></span><br><span class="line"><span class="comment"># 重新定义自定义文件路径.在NexT v6.0.2中引入.如果注释，将使用默认的自定义文件路径.</span></span><br><span class="line"><span class="comment"># 例如，你想要把你的自定义样式在根文件之外的主题目录`源/ _data`，设置`风格: 源/ _data / styles.styl` </span></span><br><span class="line"><span class="comment"># custom_file_path:  # 默认路径: 布局/ _custom / * # head:  source / _data / head.swig # header: source / _data / header.swig # sidebar: source / _data / sidebar.swig</span></span><br><span class="line">  </span><br><span class="line"><span class="comment"># default path: source / css / _variables / custom.styl # variables: source / _data / variables.styl # 默认路径: source / css / _mixins / custom.styl # mixins: source / _data / mixins.styl # 默认路径:  source / css / _custom / custom.styl # styles: source / _data / styles.styl</span></span><br><span class="line">  </span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># 网站信息设置</span></span><br><span class="line"><span class="comment"># 参见: https: //theme-next.org/docs/getting-started/#  </span></span><br><span class="line">------------ -------------------------------------------------- -</span><br><span class="line"></span><br><span class="line">图标: </span><br><span class="line">  small: /images/favicon-16x16-next.png </span><br><span class="line">  medium: /images/favicon-32x32-next.png </span><br><span class="line">  apple_touch_icon: /images/apple-touch-icon-next.png </span><br><span class="line">  safari_pinned_tab: /images/logo.svg <span class="comment"># android_manifest : / images / manifest.json # ms_browserconfig: /images/browserconfig.xml</span></span><br><span class="line">  </span><br><span class="line">  </span><br><span class="line"></span><br><span class="line"><span class="comment"># 将rss设置为false以禁用提要链接.</span></span><br><span class="line"><span class="comment"># 将rss留空以使用站点的feed链接，并安装hexo-generator-feed: `npm install hexo-generator-feed --save`.</span></span><br><span class="line"><span class="comment"># 如果您已经烧毁了Feed，请将rss设置为特定值.</span></span><br><span class="line">RSS: </span><br><span class="line"></span><br><span class="line">footer: </span><br><span class="line">	<span class="comment"># 指定站点设置的日期.如果未定义，将使用当前年份.# since: 2015</span></span><br><span class="line">	<span class="comment"># 年份和版权信息之间的图标.</span></span><br><span class="line">	icon: </span><br><span class="line">		<span class="comment">#  fontawesome中的图标名称，请参阅: https: //fontawesome.com/v4.7.0/icons/ </span></span><br><span class="line">		<span class="comment">#  heart`建议使用红色动画(# ff0000).    </span></span><br><span class="line">		name: user </span><br><span class="line">		<span class="comment">#  如果要为图标设置动画，请将其设置为true.    </span></span><br><span class="line">		animated: <span class="literal">false</span> </span><br><span class="line">		<span class="comment">#  使用Hex代码更改图标的颜色.    </span></span><br><span class="line">		color: “<span class="comment"># 808080”</span></span><br><span class="line"></span><br><span class="line">  <span class="comment"># 如果没有定义，将使用来自Hexo主配置的`author`.</span></span><br><span class="line">  copyright: </span><br><span class="line"></span><br><span class="line">  powered: </span><br><span class="line">	<span class="comment">#  Hexo link(由Hexo提供支持).</span></span><br><span class="line">	<span class="built_in">enable</span>: <span class="literal">true</span> </span><br><span class="line">	<span class="comment"># Hyloo链接后的Hexo版本信息(vX.XX).    </span></span><br><span class="line">	version: <span class="literal">true</span></span><br><span class="line">    </span><br><span class="line">    </span><br><span class="line">    </span><br><span class="line"></span><br><span class="line"></span><br><span class="line">  theme: </span><br><span class="line">	<span class="comment"># Theme＆scheme info link(主题 -  NexT.scheme.</span></span><br><span class="line">	<span class="built_in">enable</span>: <span class="literal">true</span> </span><br><span class="line">	<span class="comment"># 方案信息后的NexT版本信息(vX.XX)    </span></span><br><span class="line">	version: <span class="literal">true</span></span><br><span class="line">    </span><br><span class="line">  <span class="comment"># Bian icp中国用户信息.在中国，每个法律网站的网站页脚都应该有一个beian icp.  </span></span><br><span class="line">  <span class="comment"># http:  //www.beian.miit.gov.cn </span></span><br><span class="line">  beian: </span><br><span class="line">	<span class="built_in">enable</span>: <span class="literal">false</span>     </span><br><span class="line">	icp: </span><br><span class="line">	</span><br><span class="line">  <span class="comment"># 可以在此处定义任何自定义文本.</span></span><br><span class="line">  <span class="comment"># custom_text: 由&lt;a href="https: //pages.coding.me" class="theme-link" rel="noopener" target="_blank"&gt;编码页&lt;/a&gt;主持</span></span><br><span class="line">  </span><br><span class="line"></span><br><span class="line"><span class="comment"># Creative Commons 4.0国际许可.</span></span><br><span class="line"><span class="comment"># 参见: https: //creativecommons.org/share-your-work/licensing-types-examples#  </span></span><br><span class="line">许可证的可用值: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | 零</span><br><span class="line"><span class="comment"># 如果您更喜欢CC许可证的翻译版本，可以设置语言值.</span></span><br><span class="line"><span class="comment"># CC许可证有39种语言版本，您可以在其中找到所需的特定和正确缩写.</span></span><br><span class="line"><span class="comment"># 语言的有效值: deed.zh，deed.fr，deed.de等.creative_commons</span></span><br><span class="line">creative_commons: </span><br><span class="line">  license: by-nc-sa </span><br><span class="line">  sidebar: <span class="literal">false</span></span><br><span class="line">  post: <span class="literal">false</span></span><br><span class="line">  language: </span><br><span class="line"></span><br><span class="line"><span class="comment"># 在我右上角的GitHub横幅上关注我.</span></span><br><span class="line">github_banner: </span><br><span class="line">	<span class="built_in">enable</span>: <span class="literal">false</span>   </span><br><span class="line">	permalink: https://github.com/yourname   </span><br><span class="line">	title: 我的GitHub</span><br><span class="line">  </span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># SEO设置</span></span><br><span class="line"><span class="comment"># -------------------------------- -------------------------------</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 在移动设备上停用百度转换功能.</span></span><br><span class="line">disable_baidu_transformation: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 在您的hexo中设置规范链接标记，您可以将它用于您的博客搜索引擎优化.</span></span><br><span class="line"><span class="comment"># See: https: //support.google.com/webmasters/answer/139066#  </span></span><br><span class="line"><span class="comment"># Tips: 在打开此标记之前，请记住在hexo _config.yml中设置您的网址(例如网址: http: //yourdomain.com)</span></span><br><span class="line">canonical: <span class="literal">true</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 更改网站字幕上的标题层次结构(将是主要网站描述)和所有帖子/页面标题，以便更好地进行SEO优化.</span></span><br><span class="line">seo: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 如果为true，则将site-subtitle添加到索引页面，在main hexo config中添加.</span></span><br><span class="line"><span class="comment"># subtitle: Subtitle</span></span><br><span class="line">index_with_subtitle: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 使用BASE64加密和解密自动添加外部URL.</span></span><br><span class="line">exturl: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Google网站管理员工具验证.</span></span><br><span class="line"><span class="comment"># 请参阅: https: //www.google.com/webmasters </span></span><br><span class="line"><span class="comment"># google_site_verification: </span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Bing网站管理员工具验证.</span></span><br><span class="line"><span class="comment"># 请参阅: https: </span></span><br><span class="line">//www.bing.com/webmaster <span class="comment"># bing_site_verification: </span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Yandex网站管理员工具验证.</span></span><br><span class="line"><span class="comment"># 请参阅: https: </span></span><br><span class="line">//webmaster.yandex.ru <span class="comment"># yandex_site_verification: </span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 百度网站管理员工具验证.</span></span><br><span class="line"><span class="comment"># 请参阅: https://ziyuan.baidu.com/site </span></span><br><span class="line"><span class="comment"># baidu_site_verification: </span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 启用baidu push，以便博客自动将网址推送到百度，这对SEO非常有帮助.</span></span><br><span class="line">baidu_push: <span class="literal">true</span></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># 菜单设置</span></span><br><span class="line"><span class="comment"># -------------------------------- -------------------------------</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 在子目录(例如domain.tld / blog)中运行站点时，从链接值(/ archives  - &gt; archives)中删除前导斜杠.</span></span><br><span class="line"><span class="comment"># 用法: `Key: / link / || icon` </span></span><br><span class="line"><span class="comment"># Key是菜单项的名称.如果此项目的翻译可用，则将加载翻译的文本，否则将使用密钥名称.关键是案例敏感.</span></span><br><span class="line"><span class="comment"># ` ||'delimeter之前的值是目标链接.</span></span><br><span class="line"><span class="comment"># 在|||`delimeter之后的值是FontAwesome图标的名称.如果未指定图标(带或不带分隔符)，则将加载问题图标.</span></span><br><span class="line"><span class="comment"># 外部网址应以http: //或https: //</span></span><br><span class="line">menu: </span><br><span class="line">  home: / || home</span><br><span class="line">  <span class="comment">#about: /about/ || user</span></span><br><span class="line">  <span class="comment">#tags: /tags/ || tags</span></span><br><span class="line">  <span class="comment">#categories: /categories/ || th</span></span><br><span class="line">  archives: /archives/ || archive</span><br><span class="line">  <span class="comment">#schedule: /schedule/ || calendar</span></span><br><span class="line">  <span class="comment">#sitemap: /sitemap.xml || sitemap</span></span><br><span class="line">  <span class="comment">#commonweal: /404/ || heartbeat</span></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="comment"># 启用/禁用菜单图标/项目标记.</span></span><br><span class="line">menu_settings: </span><br><span class="line">  icons: <span class="literal">true</span>  </span><br><span class="line">  badges: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># 主题类型 Settings </span></span><br><span class="line"><span class="comment"># -------------------------------- -------------------------------</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Schemes</span></span><br><span class="line">scheme: Muse</span><br><span class="line"><span class="comment">#scheme: Mist</span></span><br><span class="line"><span class="comment">#scheme: Pisces</span></span><br><span class="line"><span class="comment">#scheme: Gemini</span></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># 补充工具栏设置</span></span><br><span class="line"><span class="comment"># 参见: https: //theme-next.org/docs/theme-settings/sidebar#  </span></span><br><span class="line">------------ -------------------------------------------------- -</span><br><span class="line"></span><br><span class="line"><span class="comment"># 侧栏中的帖子/类别/标签.</span></span><br><span class="line">site_state: <span class="literal">true</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Social Links </span></span><br><span class="line"><span class="comment"># 用法: `密钥: 永久链接|| icon` </span></span><br><span class="line"><span class="comment"># Key是向最终用户显示的链接标签.</span></span><br><span class="line"><span class="comment"># ` ||'delimeter之前的值是目标永久链接.</span></span><br><span class="line"><span class="comment"># 在|||`delimeter之后的值是FontAwesome图标的名称.如果未指定图标(带或不带分隔符)，则将加载globe图标.</span></span><br><span class="line">social: </span><br><span class="line">  <span class="comment">#GitHub: https://github.com/yourname || github</span></span><br><span class="line">  <span class="comment">#E-Mail: mailto:yourname@gmail.com || envelope</span></span><br><span class="line">  <span class="comment">#Weibo: https://weibo.com/yourname || weibo</span></span><br><span class="line">  <span class="comment">#Google: https://plus.google.com/yourname || google</span></span><br><span class="line">  <span class="comment">#Twitter: https://twitter.com/yourname || twitter</span></span><br><span class="line">  <span class="comment">#FB Page: https://www.facebook.com/yourname || facebook</span></span><br><span class="line">  <span class="comment">#VK Group: https://vk.com/yourname || vk</span></span><br><span class="line">  <span class="comment">#StackOverflow: https://stackoverflow.com/yourname || stack-overflow</span></span><br><span class="line">  <span class="comment">#YouTube: https://youtube.com/yourname || youtube</span></span><br><span class="line">  <span class="comment">#Instagram: https://instagram.com/yourname || instagram</span></span><br><span class="line">  <span class="comment">#Skype: skype:yourname?call|chat || skype</span></span><br><span class="line"></span><br><span class="line">social_icons:</span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">true</span></span><br><span class="line">  icons_only: <span class="literal">false</span></span><br><span class="line">  transition: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Blog rolls</span></span><br><span class="line">links_icon: link</span><br><span class="line">links_title: Links</span><br><span class="line">links_layout: block</span><br><span class="line"><span class="comment">#links_layout: inline</span></span><br><span class="line">links:</span><br><span class="line">  <span class="comment">#Title: http://example.com</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Sidebar 头像</span></span><br><span class="line">avatar: </span><br><span class="line">  <span class="comment"># 在主题目录(源/图像): /images/avatar.gif </span></span><br><span class="line">  <span class="comment"># 在站点目录(源/上传)中: /uploads/avatar.gif </span></span><br><span class="line">  <span class="comment"># 您还可以使用其他链接图像.  </span></span><br><span class="line">  url: /images/avatar.gif </span><br><span class="line">  <span class="comment"># 如果为true，则化身将以圆形显示.  </span></span><br><span class="line">  rounded: <span class="literal">false</span> </span><br><span class="line">  <span class="comment"># 不透明度的值应从0到1中选择以设置头像的不透明度.  </span></span><br><span class="line">  opacity: 1 </span><br><span class="line">  <span class="comment"># 如果为true，则将使用光标旋转头像.  </span></span><br><span class="line">  rotate: <span class="literal">true</span></span><br><span class="line">  </span><br><span class="line"><span class="comment"># 补充工具栏中的目录</span></span><br><span class="line"> toc: </span><br><span class="line">   <span class="built_in">enable</span>: <span class="literal">true</span> </span><br><span class="line">   <span class="comment"># 自动将列表编号添加到toc.  </span></span><br><span class="line">   number: <span class="literal">true</span> </span><br><span class="line">   <span class="comment"># 如果为true，如果标题宽度大于侧边栏宽度，则所有单词都将放在下一行. </span></span><br><span class="line">   wrap: <span class="literal">false</span> </span><br><span class="line">   <span class="comment"># 如果为true，将显示帖子中的所有TOC级别，而不是它的激活部分.  </span></span><br><span class="line">   expand_all: <span class="literal">false</span> </span><br><span class="line">   <span class="comment"># 生成的toc的最大标题深度.您可以通过Front-matter中的`toc_max_depth`在一个帖子中设置它.  </span></span><br><span class="line">   max_depth: 6</span><br><span class="line">  </span><br><span class="line"></span><br><span class="line">sidebar  </span><br><span class="line">  <span class="comment"># 侧栏位置,可用值: left | right (only for Pisces | Gemini).</span></span><br><span class="line">  position: left</span><br><span class="line">  <span class="comment">#position: right</span></span><br><span class="line"></span><br><span class="line">  <span class="comment"># Manual定义侧栏宽度.如果注释，将默认为: </span></span><br><span class="line">  <span class="comment"># Muse | Mist: 320 </span></span><br><span class="line">  <span class="comment"># Pisces| Pisces: 240 </span></span><br><span class="line">  <span class="comment"># width: 300</span></span><br><span class="line">  </span><br><span class="line">  <span class="comment"># Sidebar Display，可用值(仅适用于Muse | Mist): </span></span><br><span class="line">  <span class="comment">#  -   post 自动扩展帖子.默认. </span></span><br><span class="line">  <span class="comment">#  - always 自动展开所有页面.</span></span><br><span class="line">  <span class="comment">#  -   hide 仅在单击侧栏切换图标时隐藏展开.</span></span><br><span class="line">  <span class="comment">#  - remove 完全删除边栏，包括侧边栏切换.  </span></span><br><span class="line">  display: post</span><br><span class="line">  </span><br><span class="line"></span><br><span class="line">  <span class="comment"># 边栏偏离顶部菜单栏(以像素为单位)(仅适用于Pisces|Gemini).</span></span><br><span class="line">  offset: 12 </span><br><span class="line">  <span class="comment"># 在窄视图上启用侧栏(仅适用于Muse | Mist).  </span></span><br><span class="line">  onmobile: <span class="literal">false</span> </span><br><span class="line">  <span class="comment"># 单击页面的任何空白部分以关闭侧栏(仅适用于Muse | Mist).  </span></span><br><span class="line">  dimmer: <span class="literal">false</span></span><br><span class="line"> </span><br><span class="line"></span><br><span class="line">back2top: </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">true</span> </span><br><span class="line">  <span class="comment"># 在侧栏中回到顶部.  </span></span><br><span class="line">  sidebar: <span class="literal">false</span> </span><br><span class="line">  <span class="comment"># 在b2t按钮中滚动百分比标签.  </span></span><br><span class="line">  scrollpercent: <span class="literal">false</span></span><br><span class="line">  </span><br><span class="line"><span class="comment"># 用于在侧栏中打开指定聊天窗口小部件的按钮.</span></span><br><span class="line"><span class="comment"># 首先，您需要启用要激活其侧边栏按钮的聊天服务.</span></span><br><span class="line">chat: </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span> </span><br><span class="line">  <span class="comment"># service: chatra </span></span><br><span class="line">  <span class="comment"># service: tidio   </span></span><br><span class="line">  <span class="comment"># icon in Font Awesome 4 设置为false以禁用图标</span></span><br><span class="line">  icon: comment    </span><br><span class="line">  text: Chat <span class="comment"># button text，根据需要更改</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># Post Settings </span></span><br><span class="line"><span class="comment"># 参见: https: //theme-next.org/docs/theme-settings/posts#  </span></span><br><span class="line">------------ -------------------------------------------------- -</span><br><span class="line"></span><br><span class="line"><span class="comment"># 设置帖子中的文本对齐方式.</span></span><br><span class="line">text_align: </span><br><span class="line">  <span class="comment"># 可用值: start | end | left | right | center | justify | justify-all | match-parent</span></span><br><span class="line">  desktop: justify</span><br><span class="line">  mobile: justify</span><br><span class="line"></span><br><span class="line"><span class="comment"># 自动将页面滚动到&lt;！ -  more  - &gt;标记下的部分.</span></span><br><span class="line">scroll_to_more: <span class="literal">true</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 自动保存cookie中每个帖子/页面的滚动位置.</span></span><br><span class="line">save_scroll: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 自动摘录主页中的描述作为前导文本.</span></span><br><span class="line">excerpt_description: <span class="literal">true</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 自动摘录(不推荐).</span></span><br><span class="line"><span class="comment"># 在帖子中使用&lt;！ -  more  - &gt;来准确控制摘录.</span></span><br><span class="line">auto_excerpt: </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span>   </span><br><span class="line">  length: 150</span><br><span class="line">  </span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="comment"># Read more button </span></span><br><span class="line"><span class="comment"># 如果为true，read more按钮将显示在摘录部分.</span></span><br><span class="line">read_more_btn: <span class="literal">true</span></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="comment"># Post meta 显示设置 </span></span><br><span class="line">post_meta:</span><br><span class="line">  item_text: <span class="literal">true</span></span><br><span class="line">  created_at: <span class="literal">true</span></span><br><span class="line">  updated_at:</span><br><span class="line">    <span class="built_in">enable</span>: <span class="literal">true</span></span><br><span class="line">    another_day: <span class="literal">true</span></span><br><span class="line">  categories: <span class="literal">true</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Post wordcount显示设置 </span></span><br><span class="line"><span class="comment"># Dependencies: https://github.com/theme-next/hexo-symbols-count-time</span></span><br><span class="line">symbols_count_time:</span><br><span class="line">  separated_meta: <span class="literal">true</span></span><br><span class="line">  item_text_post: <span class="literal">true</span></span><br><span class="line">  item_text_total: <span class="literal">false</span></span><br><span class="line">  awl: 4</span><br><span class="line">  wpm: 275</span><br><span class="line"></span><br><span class="line">codeblock:   </span><br><span class="line">  <span class="comment"># Manual 在codeblock中定义边框半径，为默认值留空: 1   </span></span><br><span class="line">  border_radius: </span><br><span class="line">  <span class="comment"># 在codeblock上添加复制按钮 </span></span><br><span class="line">  copy_button: </span><br><span class="line">    <span class="built_in">enable</span>: <span class="literal">true</span> </span><br><span class="line">	<span class="comment"># 显示文本复制结果     </span></span><br><span class="line">	show_result: <span class="literal">false</span> </span><br><span class="line">	<span class="comment"># Style: 目前只有'flat'如果您更喜欢默认主题样式，请将其留空: </span></span><br><span class="line">	style:</span><br><span class="line">	</span><br><span class="line"><span class="comment"># Wechat Subscriber </span></span><br><span class="line">wechat_subscriber: </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span> </span><br><span class="line">  <span class="comment"># qcode: /path/to/your/wechatqcode 例如 /uploads/wechat-qcode.jpg </span></span><br><span class="line">  <span class="comment"># description: 例如 通过扫描我的公共微信账号订阅我的博客</span></span><br><span class="line">  </span><br><span class="line"><span class="comment"># 捐献 (Donate) </span></span><br><span class="line">reward_settings: </span><br><span class="line">  <span class="comment"># 如果为true，默认情况下会在每篇文章中显示捐献. </span></span><br><span class="line">  <span class="comment"># 您可以通过`reward: true | false`在特定文章中显示或隐藏捐献 前面的事情.</span></span><br><span class="line">  reward: <span class="literal">true</span></span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span>   </span><br><span class="line">  animation: <span class="literal">false</span> </span><br><span class="line">  <span class="comment"># comment: 在这里捐赠评论</span></span><br><span class="line">  </span><br><span class="line"></span><br><span class="line">reward: </span><br><span class="line">  wechatpay: /images/wechatpay.png</span><br><span class="line">  <span class="comment">#alipay: /images/alipay.png</span></span><br><span class="line">  <span class="comment">#bitcoin: /images/bitcoin.png</span></span><br><span class="line"></span><br><span class="line">  </span><br><span class="line"><span class="comment"># 相关热门职位</span></span><br><span class="line"><span class="comment"># 依存关系: https://github.com/tea3/hexo-related-popular-posts</span></span><br><span class="line"></span><br><span class="line">related_posts:</span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">  title: <span class="comment"># 自定义标题，留空以使用默认的一个   </span></span><br><span class="line">  display_in_home: <span class="literal">false</span>  </span><br><span class="line">  params:</span><br><span class="line">    maxCount: 5</span><br><span class="line">    <span class="comment">#PPMixingRate: 0.0</span></span><br><span class="line">    <span class="comment">#isDate: false</span></span><br><span class="line">    <span class="comment">#isImage: false</span></span><br><span class="line">    <span class="comment">#isExcerpt: false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 帖子编辑</span></span><br><span class="line"><span class="comment"># 依存关系: https://github.com/hexojs/hexo-deployer-git</span></span><br><span class="line">post_edit: </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span>   </span><br><span class="line">  <span class="comment"># 链接查看源.</span></span><br><span class="line">  url: https://github.com/user-name/repo-name/tree/branch-name/subdirectory-name </span><br><span class="line">  <span class="comment"># 用于分叉和编辑的链接.</span></span><br><span class="line">  <span class="comment">#url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name </span></span><br><span class="line">  </span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># Misc主题设置</span></span><br><span class="line"><span class="comment"># ------------------------------- --------------------------------</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 减少宽度较窄的设备上的填充/边距缩进.</span></span><br><span class="line"></span><br><span class="line">mobile_layout_economy: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Android Chrome标题面板颜色($ brand-bg / $ headband-bg =&gt; $ black-deep).</span></span><br><span class="line">android_chrome_color: “<span class="comment"># 222”</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 在Safari(iOS / macOS)上隐藏粘贴标题并为菜单栏添加颜色.</span></span><br><span class="line">safari_rainbow: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 优化基于webkit的浏览器上滚动条的显示.</span></span><br><span class="line">custom_scrollbar: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Custom Logo </span></span><br><span class="line"><span class="comment"># 目前不支持Scheme Mist.</span></span><br><span class="line">custom_logo:</span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">  image: <span class="comment">#/uploads/custom-logo.jpg</span></span><br><span class="line">  </span><br><span class="line"><span class="comment"># Code Highlight theme </span></span><br><span class="line"><span class="comment"># 代码高亮类型！</span></span><br><span class="line"><span class="comment"># 可用值: normal | night | night eighties | night blue | night bright</span></span><br><span class="line"><span class="comment"># https: //github.com/chriskempson/tomorrow-theme</span></span><br><span class="line">highlight_theme: normal</span><br><span class="line"></span><br><span class="line"><span class="comment"># 为存档页面启用“cheers”.</span></span><br><span class="line">cheers: <span class="literal">true</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># TagCloud设置标签页面.</span></span><br><span class="line">tagcloud: </span><br><span class="line">  <span class="comment"># 如果为true，则可以自定义字体大小,字体颜色和标签数量</span></span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span> </span><br><span class="line">  <span class="comment"># 以下所有值与默认值相同，自行更改   </span></span><br><span class="line">  min: 12 <span class="comment"># 最小字体大小 px  </span></span><br><span class="line">  max: 30 <span class="comment"># 最大字体大小 px</span></span><br><span class="line">  start: <span class="string">"#ccc"</span> <span class="comment"># start color(hex，rgba，hsla或color keywords)   </span></span><br><span class="line">  结束: <span class="string">"#111"</span> <span class="comment"># end color(hex，rgba，hsla或color keywords)   </span></span><br><span class="line">  amount: 200 <span class="comment"># 标签数量，改变它如果你有200多个标签</span></span><br><span class="line">  </span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># 字体设置.在NexT v5.0.1中引入.</span></span><br><span class="line"><span class="comment"># 在Google字体上查找字体(https: //www.google.com/fonts)#  </span></span><br><span class="line">此处设置的所有字体将具有以下样式: </span><br><span class="line"><span class="comment"># light，light italic，normal，normal italic，bold，bold italic </span></span><br><span class="line"><span class="comment"># be know that setting太多的字体会导致网站运行缓慢</span></span><br><span class="line"><span class="comment"># ----------------------------------------- ---------------------- </span></span><br><span class="line"><span class="comment"># 为避免方案Pisces / Gemini中标题和侧边栏之间的空间，建议将“Web全局”字体用于“全局”(和“徽标”) ): </span></span><br><span class="line"><span class="comment"># Arial | Tahoma | Helvetica | Times New Roman | 快递新| Verdana | 格鲁吉亚| Palatino | Garamond | Comic Sans MS | 投石机MS</span></span><br><span class="line"><span class="comment">#  ---------------------------------------------------------------</span></span><br><span class="line"></span><br><span class="line">font: </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">  <span class="comment"># Uri of fonts host，例如//fonts.googleapis.com(默认).</span></span><br><span class="line">  host: </span><br><span class="line">  </span><br><span class="line">  <span class="comment"># 字体选项: </span></span><br><span class="line">  <span class="comment"># `external: true`将从上面的`host`加载此字体系列.</span></span><br><span class="line">  <span class="comment"># `family: Times New Roman`.没有任何报价.</span></span><br><span class="line">  <span class="comment"># `size: xx`.使用`px`作为单位.</span></span><br><span class="line">  </span><br><span class="line">  <span class="comment"># 用于&lt;body&gt;中所有元素的全局字体设置.</span></span><br><span class="line">  global: </span><br><span class="line">    external: <span class="literal">true</span></span><br><span class="line">    family: Lato </span><br><span class="line">    size: </span><br><span class="line"></span><br><span class="line">  <span class="comment"># 标题的字体设置(H1，H2，H3，H4，H5，H6).# 回退到`global`字体设置.  标题:     外部: 真正的     家庭:     大小: </span></span><br><span class="line">  </span><br><span class="line">  <span class="comment"># 帖子的字体设置.# 回退到`global`字体设置.  </span></span><br><span class="line">   headings:</span><br><span class="line">    external: <span class="literal">true</span></span><br><span class="line">    family:</span><br><span class="line">    size:</span><br><span class="line"></span><br><span class="line">  <span class="comment"># Logo的字体设置.</span></span><br><span class="line">  <span class="comment"># 回退到`global`字体设置.  </span></span><br><span class="line">  logo:</span><br><span class="line">    external: <span class="literal">true</span></span><br><span class="line">    family:</span><br><span class="line">    size:</span><br><span class="line"></span><br><span class="line">  <span class="comment"># &lt;code&gt;和代码块的字体设置.</span></span><br><span class="line">  codes:</span><br><span class="line">    external: <span class="literal">true</span></span><br><span class="line">    family:</span><br><span class="line">    size:</span><br><span class="line"></span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># 第三方服务设置</span></span><br><span class="line"><span class="comment"># 请参阅: https: //theme-next.org/docs/third-party-services/#  </span></span><br><span class="line">您可能需要安装依赖项或设置CDN “ </span><br><span class="line">供应商”中的URL <span class="comment"># 默认情况下，有两种不同的CDN提供商: </span></span><br><span class="line"><span class="comment">#  -  jsDelivr(cdn.jsdelivr.net)，即使在中国也可以使用</span></span><br><span class="line"><span class="comment">#  -  CDNJS(cdnjs.cloudflare.com)，由cloudflare提供</span></span><br><span class="line"><span class="comment"># ---- -------------------------------------------------- ---------</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Math Equation Render Support</span></span><br><span class="line"> math: </span><br><span class="line">   <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">   <span class="comment"># Default(true)将根据需要加载mathjax / katex脚本.</span></span><br><span class="line">   <span class="comment"># 那就是它只渲染那些在Front-matter中有`mathjax: true`的页面.</span></span><br><span class="line">   <span class="comment"># 如果将其设置为false，它将加载mathjax/katex srcipt每页.  </span></span><br><span class="line">   per_page: <span class="literal">true</span></span><br><span class="line">   </span><br><span class="line">   engine: mathjax </span><br><span class="line">   <span class="comment"># engine: katex</span></span><br><span class="line">  </span><br><span class="line"></span><br><span class="line">   <span class="comment"># hexo-renderer-pandoc(或hexo-renderer-kramed)需要完整的MathJax支持.</span></span><br><span class="line">  mathjax: </span><br><span class="line">    cdn: //cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML</span><br><span class="line">    <span class="comment">#cdn: //cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML</span></span><br><span class="line"></span><br><span class="line">    <span class="comment">#参见: https://mhchem.github.io/MathJax-mhchem/ </span></span><br><span class="line">	<span class="comment"># mhchem: //cdn.jsdelivr.net/npm/mathjax-mhchem@3 </span></span><br><span class="line">	<span class="comment"># mhchem: //cdnjs.cloudflare.com/ajax/libs/mathjax-mhchem/3.3.0</span></span><br><span class="line">      </span><br><span class="line"></span><br><span class="line">  <span class="comment"># hexo-renderer-markdown-it-plus(或hexo-renderer-markdown-it with markdown-it-katex plugin)需要完整的Katex支持.</span></span><br><span class="line">  katex: </span><br><span class="line">    cdn: //cdn.jsdelivr.net/npm/katex@0/dist/katex.min.css</span><br><span class="line">    <span class="comment">#cdn: //cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Han支持</span></span><br><span class="line"><span class="comment"># 依赖关系: https://github.com/theme-next/theme-next-han</span></span><br><span class="line"> han: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Pangu支持</span></span><br><span class="line"><span class="comment"># Dependencies: https://github.com/theme-next/theme-next-pangu#  </span></span><br><span class="line">欲了解更多信息: https://github.com/vinta/pangu.js</span><br><span class="line"> pangu: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Quicklink支持</span></span><br><span class="line"><span class="comment"># 依赖关系: https: //github.com/theme-next/theme-next-quicklink</span></span><br><span class="line"><span class="comment"># 访 问 https://github.com/GoogleChromeLabs/quicklink 获取详细信息</span></span><br><span class="line">quicklink: </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">  <span class="comment"># Quicklink(quicklink.umd.js脚本)按需加载</span></span><br><span class="line">  <span class="comment"># 在页面的前面添加`quicklink: true`或你需要的帖子</span></span><br><span class="line">  <span class="comment"># 主页和存档页面可以通过home下面的   home 和archive选项</span></span><br><span class="line">  home: <span class="literal">true</span></span><br><span class="line">  archive: <span class="literal">true</span></span><br><span class="line"></span><br><span class="line">  <span class="comment"># default(true)将在load事件触发 delay 之后初始化</span></span><br><span class="line">  delay: <span class="literal">true</span></span><br><span class="line">  <span class="comment"># 自定义浏览器必须执行预取超时的时间(以毫秒为单位)\</span></span><br><span class="line">  timeout: 3000 </span><br><span class="line">  <span class="comment"># Default(true)将启用fetch()或回退到XHR   </span></span><br><span class="line">  priority: <span class="literal">true</span></span><br><span class="line"></span><br><span class="line">  <span class="comment"># 为了获得更大的灵活性，您可以添加一些模式(RegExp，函数或数组)来忽略</span></span><br><span class="line">  <span class="comment"># 请参阅: https://github.com/GoogleChromeLabs/quicklink#custom-ignore-patterns</span></span><br><span class="line">  <span class="comment"># 如果您不理解，请将忽略为空</span></span><br><span class="line">  <span class="comment"># 例如: </span></span><br><span class="line">  <span class="comment"># ignoredores: </span></span><br><span class="line">  <span class="comment">#   - /\/api\/?/</span></span><br><span class="line">  <span class="comment">#   - uri =&gt; uri.includes('.xml')</span></span><br><span class="line">  <span class="comment">#   - (uri, el) =&gt; el.hasAttribute('noopener')</span></span><br><span class="line">  ignores:</span><br><span class="line"></span><br><span class="line"><span class="comment"># 书签支持</span></span><br><span class="line"><span class="comment"># 依赖关系: https: //github.com/theme-next/theme-next-bookmark</span></span><br><span class="line"> bookmark: <span class="built_in">enable</span>: <span class="literal">false</span> <span class="comment"># 如果是自动，请在关闭页面或单击书签图标时保存阅读位置.# 如果是手动，只需单击书签图标即可保存.  保存: 自动</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 阅读进度条 </span></span><br><span class="line"><span class="comment"># Dependencies: https://github.com/theme-next/theme-next-reading-progress</span></span><br><span class="line">reading_progress: </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">  color: <span class="string">"#37c6c0"</span></span><br><span class="line">  height: 2px</span><br><span class="line">  </span><br><span class="line"><span class="comment"># Google日历</span></span><br><span class="line"><span class="comment"># 通过日历页面将您最近的日程安排分享给其他人.</span></span><br><span class="line"><span class="comment"># API文档: https://developers.google.com/google-apps/calendar/v3/reference/events/list</span></span><br><span class="line"><span class="comment">#获取api_key: https://console.developers.google.co</span></span><br><span class="line"><span class="comment">#创建和管理公开Goog​​le日历: https://support.google.com/calendar/answer/37083</span></span><br><span class="line">calendar: </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span>   </span><br><span class="line">  calendar_id: &lt;required&gt; <span class="comment"># 您的Google帐户电子邮件   </span></span><br><span class="line">  api_key: &lt;required&gt;   </span><br><span class="line">  orderBy: startTime    </span><br><span class="line">  offsetMax: 24 <span class="comment"># Time Range   </span></span><br><span class="line">  offsetMin:  4 <span class="comment"># Time Range   </span></span><br><span class="line">  showDeleted: <span class="literal">false</span>   </span><br><span class="line">  singleEvents: <span class="literal">true</span>   </span><br><span class="line">  maxResults: 250</span><br><span class="line">  </span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># Comments and Widgets </span></span><br><span class="line"><span class="comment"># 参见: https: //theme-next.org/docs/third-party-services/comments-and-widgets#  </span></span><br><span class="line">----- -------------------------------------------------- --------</span><br><span class="line"></span><br><span class="line"><span class="comment"># Disqus</span></span><br><span class="line">disqus:</span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">  shortname:</span><br><span class="line">  count: <span class="literal">true</span></span><br><span class="line">  lazyload: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># DisqusJS </span></span><br><span class="line"><span class="comment"># Alternative Disqus  - 使用Disqus API渲染评论组件 </span></span><br><span class="line"><span class="comment"># Demo: https://suka.js.org/DisqusJS/ </span></span><br><span class="line">disqusjs: </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span> </span><br><span class="line">  <span class="comment"># API Disqus的端点(https: //disqus.com/api/)如果你能够连接到Disqus API</span></span><br><span class="line">  <span class="comment"># leave api为空，否则你需要一个反向代理来提供Disqus API </span></span><br><span class="line">  <span class="comment"># 例如   :   </span></span><br><span class="line">  <span class="comment"># api: https://disqus.skk.moe/disqus/ </span></span><br><span class="line">  api: </span><br><span class="line">  apikey: <span class="comment"># register new application from https://disqus.com/api/applications/   </span></span><br><span class="line">  shortname: <span class="comment"># 请参阅: https: //disqus.com/admin/settings/general/</span></span><br><span class="line">  </span><br><span class="line"></span><br><span class="line"><span class="comment"># Changyan</span></span><br><span class="line">changyan:</span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">  appid:</span><br><span class="line">  appkey:</span><br><span class="line"></span><br><span class="line"><span class="comment"># Valine</span></span><br><span class="line"><span class="comment"># You can get your appid and appkey from https://leancloud.cn</span></span><br><span class="line"><span class="comment"># More info available at https://valine.js.org</span></span><br><span class="line"></span><br><span class="line">valine:</span><br><span class="line">  <span class="comment"># 当enable设置为true时，</span></span><br><span class="line">  <span class="comment"># 建议使用leancloud_visitors关闭不同的leancloud adk版本中的重新初始化问题.</span></span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span> </span><br><span class="line">  appid:  <span class="comment"># your leancloud application appid</span></span><br><span class="line">  appkey:  <span class="comment"># your leancloud application appkey</span></span><br><span class="line">  notify: <span class="literal">false</span> <span class="comment"># mail notifier, See: https://github.com/xCss/Valine/wiki</span></span><br><span class="line">  verify: <span class="literal">false</span> <span class="comment"># # 验证码</span></span><br><span class="line">  placeholder: Just go go <span class="comment"># comment box placeholder</span></span><br><span class="line">  avatar: mm <span class="comment"># gravatar style</span></span><br><span class="line">  guest_info: nick,mail,link <span class="comment"># custom comment header</span></span><br><span class="line">  pageSize: 10 <span class="comment"># pagination size</span></span><br><span class="line">  language: <span class="comment"># 语言，可用值: en, zh-cn</span></span><br><span class="line">  visitor: <span class="literal">false</span> 目前不支持 When visitor is <span class="built_in">set</span> to be <span class="literal">true</span>, appid and appkey are recommended to be the same as leancloud_visitors<span class="string">' for counter compatibility. Article reading statistic https://valine.js.org/visitor.html</span></span><br><span class="line"><span class="string">  comment_count: true # 如果为false，则评论计数将仅显示在帖子页面中，而不会显示在主页中</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string">  </span></span><br><span class="line"><span class="string">: enable: false # 当enable设置为true时，建议使用leancloud_visitors关闭不同的leancloud adk版本中的重新初始化问题.  </span></span><br><span class="line"><span class="string">appid:    # levelcloud application appid </span></span><br><span class="line"><span class="string">appkey   :    # levelcloud application appkey   </span></span><br><span class="line"><span class="string">notify: false # mail notifier，请参阅: https: //github.com/xCss/Valine/wiki   </span></span><br><span class="line"><span class="string">verify: false # 验证码   占位符: 只需转到# comment box占位符   头像: mm # gravatar style</span></span><br><span class="line"><span class="string">   </span></span><br><span class="line"><span class="string">  guest_info: nick，mail，link # custom comment header</span></span><br><span class="line"><span class="string">   pageSize: 10 # 分页大小</span></span><br><span class="line"><span class="string">   语言: # 语言，可用值: en，zh-cn</span></span><br><span class="line"><span class="string">   visitor: false  目前不支持# leancloud-counter-security.当访问者设置为true时，建议appid和appkey与leancloud_visitors相同，以实现计数器兼容性.文章阅读统计https: //valine.js.org/visitor.html</span></span><br><span class="line"><span class="string">   comment_count: true  # 如果为false，则评论计数将仅显示在帖子页面中，而不会显示在主页中</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># LiveRe评论系统</span></span><br><span class="line"><span class="string"># 你可以从https://livere.com/insight/myCode(一般网站)</span></span><br><span class="line"><span class="string">#livere_uid: your uid</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># Gitment </span></span><br><span class="line"><span class="string"># 简介: https: //github.com/imsun/gitment</span></span><br><span class="line"><span class="string">gitment: </span></span><br><span class="line"><span class="string">  enable: false   </span></span><br><span class="line"><span class="string">  # REOMOMMEND，Gitment的一个薄荷，支持count，language和proxy_gateway   </span></span><br><span class="line"><span class="string">  mint: true </span></span><br><span class="line"><span class="string">  count: true # 在post meta区域显示注释计数   </span></span><br><span class="line"><span class="string">  lazy: false # 注释延迟加载一个按钮   </span></span><br><span class="line"><span class="string">  cleanly: false # 在页   脚上隐藏'</span>Powered by ...<span class="string">'和更多   </span></span><br><span class="line"><span class="string">  language: # 强制语言，或者按主题 </span></span><br><span class="line"><span class="string">  github_user: # 必须有，你的Github用户名   </span></span><br><span class="line"><span class="string">  github_repo: # 必须有，用于存储Gitment注释的repo的名称   </span></span><br><span class="line"><span class="string">  client_id: # 必须具备的，对于Gitment Github上的客户端ID</span></span><br><span class="line"><span class="string">  client_secret:  # 非此即彼proxy_gateway，为Gitment Github上访问秘密令牌</span></span><br><span class="line"><span class="string">  proxy_gateway: API代理# 地址，请参阅: https: //github.com/aimingoo/intersect</span></span><br><span class="line"><span class="string">  redirect_protocol:  # 协议启用mint时，使用force_redirect_protocol的redirect_uri</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># Gitalk # Demo: https://gitalk.github.io </span></span><br><span class="line"><span class="string">gitalk: </span></span><br><span class="line"><span class="string">  enable: false   </span></span><br><span class="line"><span class="string">  github_id: # Github   repo owner   </span></span><br><span class="line"><span class="string">  repo: # 存储库存储问题的名称   </span></span><br><span class="line"><span class="string">  client_id:  # Github 应用程序客户端ID   </span></span><br><span class="line"><span class="string">  client_secret:  # Github 应用程序客户端密码 </span></span><br><span class="line"><span class="string">  admin_user: # GitHub回购所有者和合作者，只有这些人可以初始化github问题   </span></span><br><span class="line"><span class="string">  distraction_free_mode: true # Facebook-like distraction free mode </span></span><br><span class="line"><span class="string">  # Gitalk的显示语言取决于用户的浏览器或系统环境</span></span><br><span class="line"><span class="string">  # 如果你希望每个访问你网站的人都看到统一的语言，你可以设置强制语言值</span></span><br><span class="line"><span class="string">  # 可用值: en，es-ES，fr，ru，zh-CN，zh-TW</span></span><br><span class="line"><span class="string">  language:</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="string"># 内容共享服务</span></span><br><span class="line"><span class="string"># 参见: https: //theme-next.org/docs/third-party-services/content-sharing-services#  </span></span><br><span class="line"><span class="string">----- -------------------------------------------------- --------</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># 百度分享</span></span><br><span class="line"><span class="string"># 可用值: 按钮| 幻灯片</span></span><br><span class="line"><span class="string"># 警告: 百度共享不支持https.</span></span><br><span class="line"><span class="string"># baidushare: </span></span><br><span class="line"><span class="string"># #  type: button</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># AddThis Share，请参阅: https: //www.addthis.com#  </span></span><br><span class="line"><span class="string">转到https: //www.addthis.com/dashboard以自定义您的工具.</span></span><br><span class="line"><span class="string"># add_this_id: </span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># 可能分享</span></span><br><span class="line"><span class="string"># 参见: https://ilyabirman.net/projects/likely/</span></span><br><span class="line"><span class="string"># 可能支持四种外观，九种社交网络，任何按钮文本</span></span><br><span class="line"><span class="string"># 您可以随意修改任何网络的文本值和顺序</span></span><br><span class="line"><span class="string">likely:</span></span><br><span class="line"><span class="string">  enable: false   </span></span><br><span class="line"><span class="string">  look: normal  # 可用值: 正常，轻，小，大   </span></span><br><span class="line"><span class="string">  networks: </span></span><br><span class="line"><span class="string">    twitter: Tweet</span></span><br><span class="line"><span class="string">    facebook: Share</span></span><br><span class="line"><span class="string">    linkedin: Link</span></span><br><span class="line"><span class="string">    gplus: Plus</span></span><br><span class="line"><span class="string">    vkontakte: Share</span></span><br><span class="line"><span class="string">    odnoklassniki: Class</span></span><br><span class="line"><span class="string">    telegram: Send</span></span><br><span class="line"><span class="string">    whatsapp: Send</span></span><br><span class="line"><span class="string">    pinterest: Pin</span></span><br><span class="line"><span class="string"># NeedMoreShare2 </span></span><br><span class="line"><span class="string"># Dependencies: https </span></span><br><span class="line"><span class="string">: //github.com/theme-next/theme-next-needmoreshare2# iconStyle: default | box </span></span><br><span class="line"><span class="string"># boxForm: horizo​​ntal | 垂直</span></span><br><span class="line"><span class="string"># 位置: 顶部/中间/底部+左/中/右</span></span><br><span class="line"><span class="string"># 网络: </span></span><br><span class="line"><span class="string"># Weibo，微信，豆瓣，QQZone，Twitter，Facebook，Linkedin，Mailto，Reddit，Delicious，StumbleUpon，Pinterest，</span></span><br><span class="line"><span class="string"># GooglePlus，Tumblr，Google书签， Newsvine，Evernote，Friendfeed，Vkontakte，Odnoklassniki，Mailru</span></span><br><span class="line"><span class="string">needmoreshare2:</span></span><br><span class="line"><span class="string">  enable: false</span></span><br><span class="line"><span class="string">  postbottom:</span></span><br><span class="line"><span class="string">    enable: false</span></span><br><span class="line"><span class="string">    options:</span></span><br><span class="line"><span class="string">      iconStyle: box</span></span><br><span class="line"><span class="string">      boxForm: horizontal</span></span><br><span class="line"><span class="string">      position: bottomCenter</span></span><br><span class="line"><span class="string">      networks: Weibo,Wechat,Douban,QQZone,Twitter,Facebook</span></span><br><span class="line"><span class="string">  float:</span></span><br><span class="line"><span class="string">    enable: false</span></span><br><span class="line"><span class="string">    options:</span></span><br><span class="line"><span class="string">      iconStyle: box</span></span><br><span class="line"><span class="string">      boxForm: horizontal</span></span><br><span class="line"><span class="string">      position: middleRight</span></span><br><span class="line"><span class="string">      networks: Weibo,Wechat,Douban,QQZone,Twitter,Facebook</span></span><br><span class="line"><span class="string"> </span></span><br><span class="line"><span class="string"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="string"># Statistics and Analytics </span></span><br><span class="line"><span class="string"># 参见: https: //theme-next.org/docs/third-party-services/statistics-and-analytics#  </span></span><br><span class="line"><span class="string">----- -------------------------------------------------- --------</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># 百度分析ID </span></span><br><span class="line"><span class="string"># baidu_analytics: </span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># Engningio Analytics ID </span></span><br><span class="line"><span class="string"># 版权所有2015-2018 GrowingIO，Inc.更多信息，请访问https: //www.growingio.com </span></span><br><span class="line"><span class="string"># growingio_analytics: # your projectId</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># 谷歌Analytics(分析)</span></span><br><span class="line"><span class="string"># google_analytics: </span></span><br><span class="line"><span class="string"># TRACKING_ID: </span></span><br><span class="line"><span class="string"># localhost_ignored: 真</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># CNZZ count </span></span><br><span class="line"><span class="string"># cnzz_siteid: </span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># Application Insights </span></span><br><span class="line"><span class="string"># 请参阅: https: </span></span><br><span class="line"><span class="string">//azure.microsoft.com/en-us/services/application-insights # application_insights: </span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># Post小部件和FB / VK评论设置.</span></span><br><span class="line"><span class="string"># ------------------------------------------------- --------------   # Facebook </span></span><br><span class="line"><span class="string">SDK支持</span></span><br><span class="line"><span class="string">facebook_sdk:</span></span><br><span class="line"><span class="string">  enable:       false</span></span><br><span class="line"><span class="string">  app_id:       #&lt;app_id&gt;</span></span><br><span class="line"><span class="string">  fb_admin:     #&lt;user_id&gt;</span></span><br><span class="line"><span class="string">  like_button:  #true</span></span><br><span class="line"><span class="string">  webmaster:    #true</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># Facebook comments plugin </span></span><br><span class="line"><span class="string"># 这个插件取决于Facebook SDK.</span></span><br><span class="line"><span class="string"># 如果facebook_sdk.enable为false，则Facebook评论插件不可用.</span></span><br><span class="line"><span class="string">facebook_sdk:</span></span><br><span class="line"><span class="string">  enable:       false</span></span><br><span class="line"><span class="string">  app_id:       #&lt;app_id&gt;</span></span><br><span class="line"><span class="string">  fb_admin:     #&lt;user_id&gt;</span></span><br><span class="line"><span class="string">  like_button:  #true</span></span><br><span class="line"><span class="string">  webmaster:    #true</span></span><br><span class="line"><span class="string">  </span></span><br><span class="line"><span class="string"># VKontakte API支持</span></span><br><span class="line"><span class="string"># 要获取AppID，请访问https://vk.com/editapp?act=create</span></span><br><span class="line"><span class="string">vkontakte_api:</span></span><br><span class="line"><span class="string">  enable:       false</span></span><br><span class="line"><span class="string">  app_id:       #&lt;app_id&gt;</span></span><br><span class="line"><span class="string">  like:         true</span></span><br><span class="line"><span class="string">  comments:     true</span></span><br><span class="line"><span class="string">  num_of_posts: 10</span></span><br><span class="line"><span class="string"> </span></span><br><span class="line"><span class="string"># 每篇文章的星级评分支持.</span></span><br><span class="line"><span class="string"># 要获取您的ID，请访问https://widgetpack.com</span></span><br><span class="line"><span class="string"> rating:</span></span><br><span class="line"><span class="string">  enable: false</span></span><br><span class="line"><span class="string">  id:     #&lt;app_id&gt;</span></span><br><span class="line"><span class="string">  color:  fc6423</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"># 显示每篇文章的访问者数量.</span></span><br><span class="line"><span class="string"># 您可以访问https://leancloud.cn获取AppID和AppKey.</span></span><br><span class="line"><span class="string">leancloud_visitors:</span></span><br><span class="line"><span class="string">  enable: false</span></span><br><span class="line"><span class="string">  app_id: #&lt;app_id&gt;</span></span><br><span class="line"><span class="string">  app_key: #&lt;app_key&gt;</span></span><br><span class="line"><span class="string">  # Dependencies: https://github.com/theme-next/hexo-leancloud-counter-security</span></span><br><span class="line"><span class="string">  # If you don'</span>t care about security <span class="keyword">in</span> leancloud counter and just want to use it directly</span><br><span class="line">  <span class="comment"># (without hexo-leancloud-counter-security plugin), set `security` to `false`.</span></span><br><span class="line">  security: <span class="literal">true</span></span><br><span class="line">  betterPerformance: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="comment"># 另一个显示每篇文章访问者数量的工具.</span></span><br><span class="line"><span class="comment"># 访问https://console.firebase.google.com/u/0/获取apiKey和projectId.</span></span><br><span class="line"><span class="comment"># 访问https://firebase.google.com/docs/firestore/以获取有关firestore的更多信息.</span></span><br><span class="line">firestore:</span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">  collection: articles <span class="comment">#required, a string collection name to access firestore database</span></span><br><span class="line">  apiKey: <span class="comment">#required</span></span><br><span class="line">  projectId: <span class="comment">#required</span></span><br><span class="line">  bluebird: <span class="literal">false</span> <span class="comment">#enable this if you want to include bluebird 3.5.1(core version) Promise polyfill</span></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="comment"># 显示网站/页面的访问者/访客与busuanzi.</span></span><br><span class="line"><span class="comment"># 获取更多信息http: //ibruce.info/2015/04/04/busuanzi</span></span><br><span class="line">busuanzi_count:</span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">  total_visitors: <span class="literal">true</span></span><br><span class="line">  total_visitors_icon: user</span><br><span class="line">  total_views: <span class="literal">true</span></span><br><span class="line">  total_views_icon: eye</span><br><span class="line">  post_views: <span class="literal">true</span></span><br><span class="line">  post_views_icon: eye</span><br><span class="line"> </span><br><span class="line"></span><br><span class="line"><span class="comment"># 腾讯分析ID </span></span><br><span class="line"><span class="comment"># tencent_analytics: </span></span><br><span class="line"></span><br><span class="line">腾讯编号MTA </span><br><span class="line"><span class="comment"># tencent_mta: </span></span><br><span class="line"></span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># 搜索服务</span></span><br><span class="line"><span class="comment"># 参见: https://theme-next.org/docs/third-party-services/search-services</span></span><br><span class="line"><span class="comment"># --------- -------------------------------------------------- -----</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Algolia Search </span></span><br><span class="line"><span class="comment"># See: https: //theme-next.org/docs/third-party-services/search-services</span></span><br><span class="line"><span class="comment"># Algolia-Search</span></span><br><span class="line"><span class="comment"># Dependencies: https://github.com/theme-next/theme-next-algolia-instant-search</span></span><br><span class="line">algolia_search:</span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">  hits:</span><br><span class="line">    per_page: 10</span><br><span class="line">  labels:</span><br><span class="line">    input_placeholder: Search <span class="keyword">for</span> Posts</span><br><span class="line">    hits_empty: <span class="string">"We didn't find any results for the search: <span class="variable">$&#123;query&#125;</span>"</span></span><br><span class="line">    hits_stats: <span class="string">"<span class="variable">$&#123;hits&#125;</span> results found in <span class="variable">$&#123;time&#125;</span> ms"</span></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="comment"># Local search </span></span><br><span class="line"><span class="comment"># Dependencies: https//github.com/theme-next/hexo-generator-searchdb</span></span><br><span class="line"></span><br><span class="line">local_search: </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span> </span><br><span class="line">  <span class="comment"># 如果是auto，则通过更改输入来触发搜索.</span></span><br><span class="line">  <span class="comment"># 如果是手动，按enter键或搜索按钮触发搜索.  </span></span><br><span class="line">  trigger: auto </span><br><span class="line">  <span class="comment"># 显示每篇文章的前n个结果，通过设置为-1显示所有结果   </span></span><br><span class="line">  top_n_per_article: 1 </span><br><span class="line">  <span class="comment">#  Unescape html字符串到可读的字符串.  </span></span><br><span class="line">  unescape: <span class="literal">false</span></span><br><span class="line">  </span><br><span class="line"></span><br><span class="line"><span class="comment"># Swiftype Search API Key </span></span><br><span class="line"><span class="comment"># swiftype_key: </span></span><br><span class="line"></span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># 聊天服务</span></span><br><span class="line"><span class="comment"># 参见: https: </span></span><br><span class="line">//theme-next.org/docs/third-party-services/chat-services</span><br><span class="line"><span class="comment"># --------- -------------------------------------------------- -----</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Chatra支持</span></span><br><span class="line"><span class="comment"># 参见: https://chatra.io </span></span><br><span class="line"><span class="comment"># Dashboard: https://app.chatra.io/settings/general </span></span><br><span class="line">chatra: </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span>   </span><br><span class="line">  async: <span class="literal">true</span>   </span><br><span class="line">  id: <span class="comment"># visation Dashboard to get ChatraID </span></span><br><span class="line">  <span class="comment"># embed: # 开发人员尚未完成的实验性功能，请参阅: https://chatra.io/help/api/#injectto</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Tidio支持</span></span><br><span class="line"><span class="comment"># 请参阅: https://www.tidiochat.com </span></span><br><span class="line"><span class="comment"># Dashboard: https:/www.tidiochat.com/panel/dashboard </span></span><br><span class="line">tidio:  </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span>   </span><br><span class="line">  key: <span class="comment"># Public Key，从Dashboard获取，请参阅: https://www.tidiochat.com/panel/settings/developer</span></span><br><span class="line"> </span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># Tags设置</span></span><br><span class="line"><span class="comment"># 参见: https: </span></span><br><span class="line">//theme-next.org/docs/tag-plugins/</span><br><span class="line"><span class="comment"># --------- --------------------------------------------------</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># note标记(bs-callout)</span></span><br><span class="line">note: </span><br><span class="line">  <span class="comment"># 注释标记样式值: </span></span><br><span class="line">  <span class="comment">#  - simple   bs-callout旧警报样式.(默认.</span></span><br><span class="line">  <span class="comment">#  - modern   bs-callout new(v2-v3)警报样式.</span></span><br><span class="line">  <span class="comment">#  - flat     扁平标注样式，如Mozilla或StackOverflow.</span></span><br><span class="line">  <span class="comment">#  - disabled 禁用所有CSS样式导入note标记.  </span></span><br><span class="line">  style: simple  </span><br><span class="line">  icons: <span class="literal">false</span>   </span><br><span class="line">  border_radius: 3 </span><br><span class="line">  <span class="comment"># 现代和平面样式的背景偏移量 (modern: -12 | 12; flat: -18 | 6).</span></span><br><span class="line">  <span class="comment"># Offset也适用于标签标签变量.此选项可用于禁用的注释标记.  </span></span><br><span class="line">  light_bg_offset: 0</span><br><span class="line"></span><br><span class="line"><span class="comment"># Tabs tag</span></span><br><span class="line">tabs:</span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">true</span></span><br><span class="line">  transition:</span><br><span class="line">    tabs: <span class="literal">false</span></span><br><span class="line">    labels: <span class="literal">true</span></span><br><span class="line">  border_radius: 0</span><br><span class="line"></span><br><span class="line"><span class="comment"># PDF标记，需要两个插件: pdfObject和pdf.js </span></span><br><span class="line"><span class="comment"># pdfObject将尝试本机加载pdf文件，如果失败，将使用pdf.js.</span></span><br><span class="line"><span class="comment"># 以下`cdn`设置仅适用于pdfObject，因为pdf for pdf.js可能被CORS策略阻止.</span></span><br><span class="line"><span class="comment"># 因此，如果要使用pdf标记并将其提供给所有浏览器，则必须安装pdf.js的依赖项.</span></span><br><span class="line"><span class="comment"># 参见: https: //github.com/theme-next/theme-next-pdf</span></span><br><span class="line">pdf:</span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">  <span class="comment"># Default height</span></span><br><span class="line">  height: 500px</span><br><span class="line">  pdfobject:</span><br><span class="line">    cdn: //cdn.jsdelivr.net/npm/pdfobject@2/pdfobject.min.js</span><br><span class="line">    <span class="comment">#cdn: //cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Mermaid tag</span></span><br><span class="line">mermaid:</span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">  <span class="comment"># Available themes: default | dark | forest | neutral</span></span><br><span class="line">  theme: forest</span><br><span class="line">  cdn: //cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js</span><br><span class="line">  <span class="comment">#cdn: //cdnjs.cloudflare.com/ajax/libs/mermaid/8.0.0/mermaid.min.js</span></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="comment"># ------------------------------------------------- -------------- </span></span><br><span class="line"><span class="comment"># Dynamic Settings </span></span><br><span class="line"><span class="comment"># -------------------------------- -------------------------------</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 使用velocity来动画一切.</span></span><br><span class="line">motion:</span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">true</span></span><br><span class="line">  async: <span class="literal">false</span></span><br><span class="line">  transition:</span><br><span class="line">    <span class="comment"># Transition variants:</span></span><br><span class="line">    <span class="comment"># fadeIn | fadeOut | flipXIn | flipXOut | flipYIn | flipYOut | flipBounceXIn | flipBounceXOut | flipBounceYIn | flipBounceYOut</span></span><br><span class="line">    <span class="comment"># swoopIn | swoopOut | whirlIn | whirlOut | shrinkIn | shrinkOut | expandIn | expandOut</span></span><br><span class="line">    <span class="comment"># bounceIn | bounceOut | bounceUpIn | bounceUpOut | bounceDownIn | bounceDownOut | bounceLeftIn | bounceLeftOut | bounceRightIn | bounceRightOut</span></span><br><span class="line">    <span class="comment"># slideUpIn | slideUpOut | slideDownIn | slideDownOut | slideLeftIn | slideLeftOut | slideRightIn | slideRightOut</span></span><br><span class="line">    <span class="comment"># slideUpBigIn | slideUpBigOut | slideDownBigIn | slideDownBigOut | slideLeftBigIn | slideLeftBigOut | slideRightBigIn | slideRightBigOut</span></span><br><span class="line">    <span class="comment"># perspectiveUpIn | perspectiveUpOut | perspectiveDownIn | perspectiveDownOut | perspectiveLeftIn | perspectiveLeftOut | perspectiveRightIn | perspectiveRightOut</span></span><br><span class="line">    post_block: fadeIn</span><br><span class="line">    post_header: slideDownIn</span><br><span class="line">    post_body: slideDownIn</span><br><span class="line">    coll_header: slideLeftIn</span><br><span class="line">    <span class="comment"># Only for Pisces | Gemini.</span></span><br><span class="line">    sidebar: slideUpIn</span><br><span class="line">  </span><br><span class="line"><span class="comment"># Fancybox.支持旧版本2和新版本3.  弹出框插件</span></span><br><span class="line"><span class="comment"># 只选择一个版本，不需要同时安装.</span></span><br><span class="line"><span class="comment"># 安装2.x: https://github.com/theme-next/theme-next-fancybox</span></span><br><span class="line"><span class="comment"># 要安装3.x: https://github.com/theme-next/theme-next-fancybox3</span></span><br><span class="line">fastclick: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Polyfill用于删除具有触摸UI的浏览器上的点击延迟.</span></span><br><span class="line"><span class="comment"># Dependencies: https://github.com/theme-next/theme-next-fastclick</span></span><br><span class="line"> fastclick: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Lailla用于延迟加载图像的JavaScript插件.</span></span><br><span class="line"><span class="comment"># Dependencies: https://github.com/theme-next/theme-next-jquery-lazyload</span></span><br><span class="line">lazyload: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 页面加载期间顶部的进度条.</span></span><br><span class="line"><span class="comment"># Dependencies: https: //github.com/theme-next/theme-next-pace</span></span><br><span class="line">pace: <span class="literal">false</span> </span><br><span class="line"><span class="comment"># Themes list:</span></span><br><span class="line"><span class="comment"># pace-theme-big-counter | pace-theme-bounce | pace-theme-barber-shop | pace-theme-center-atom</span></span><br><span class="line"><span class="comment"># pace-theme-center-circle | pace-theme-center-radar | pace-theme-center-simple | pace-theme-corner-indicator</span></span><br><span class="line"><span class="comment"># pace-theme-fill-left | pace-theme-flash | pace-theme-loading-bar | pace-theme-mac-osx | pace-theme-minimal</span></span><br><span class="line">pace_theme: pace-theme-minimal</span><br><span class="line"></span><br><span class="line"><span class="comment"># Canvas-nest  一个背景</span></span><br><span class="line"><span class="comment"># Dependencies: https://github.com/theme-next/theme-next-canvas-nest</span></span><br><span class="line">canvas_nest:</span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span></span><br><span class="line">  onmobile: <span class="literal">true</span> <span class="comment"># display on mobile or not</span></span><br><span class="line">  color: <span class="string">"0,0,255"</span> <span class="comment"># RGB values, use ',' to separate</span></span><br><span class="line">  opacity: 0.5 <span class="comment"># the opacity of line: 0~1</span></span><br><span class="line">  zIndex: -1 <span class="comment"># z-index property of the background</span></span><br><span class="line">  count: 99 <span class="comment"># the number of lines</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># JavaScript 3D库.</span></span><br><span class="line"><span class="comment"># Dependencies: https://github.com/theme-next/theme-next-three</span></span><br><span class="line"><span class="comment"># three_waves</span></span><br><span class="line">three_waves: <span class="literal">false</span> </span><br><span class="line"><span class="comment"># canvas_lines</span></span><br><span class="line">canvas_lines: <span class="literal">false</span> </span><br><span class="line"><span class="comment"># canvas_sphere</span></span><br><span class="line">canvas_sphere: <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Canvas-ribbon </span></span><br><span class="line"><span class="comment"># Dependencies: https://github.com/theme-next/theme-next-canvas-ribbon</span></span><br><span class="line"><span class="comment"># size: 功能区的宽度.</span></span><br><span class="line"><span class="comment"># alpha: 功能区的透明度.</span></span><br><span class="line"><span class="comment"># zIndex: 功能区的显示级别.</span></span><br><span class="line">canvas_ribbon: </span><br><span class="line">  <span class="built_in">enable</span>: <span class="literal">false</span>   </span><br><span class="line">  size: 300   </span><br><span class="line">  alpha: 0.6   </span><br><span class="line">  zIndex: -1</span><br><span class="line">  </span><br><span class="line"></span><br><span class="line"><span class="comment"># ！-------------------------------------------------- ------------- </span></span><br><span class="line"><span class="comment"># ！不要编辑以下设置</span></span><br><span class="line"><span class="comment"># ！除非你知道你做什么</span></span><br><span class="line"><span class="comment"># ！请参阅: https: //theme-next.org/docs/advanced-settings# </span></span><br><span class="line">！-------------------------------------------------- -------------</span><br><span class="line"></span><br><span class="line">省略</span><br></pre></td></tr></table></figure>

      
    </div>

    

    
    
    

    

    
      
    
    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/yykrlc_bolg/tags/python/" rel="tag"># python</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/yykrlc_bolg/2019/05/16/my1-副本/" rel="next" title="比较Gruvi针对asyncio，gevent和eventlet">
                <i class="fa fa-chevron-left"></i> 比较Gruvi针对asyncio，gevent和eventlet
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/yykrlc_bolg/2019/05/16/厨艺基本原理/" rel="prev" title="厨艺的基本原理">
                厨艺的基本原理 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>


  </div>


          </div>
          

  
    <div class="comments" id="comments">
      <div id="SOHUCS"></div>
    </div>

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      

      <div class="site-overview-wrap sidebar-panel sidebar-panel-active">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image" src="/yykrlc_bolg/images/avatar.gif" alt="yykrlc">
            
              <p class="site-author-name" itemprop="name">yykrlc</p>
              <div class="site-description motion-element" itemprop="description">驰聘于日月兮 徘徊于池上</div>
          </div>

          
            <nav class="site-state motion-element">
              
                <div class="site-state-item site-state-posts">
                
                  <a href="/yykrlc_bolg/archives/">
                
                    <span class="site-state-item-count">4</span>
                    <span class="site-state-item-name">日志</span>
                  </a>
                </div>
              

              
                
                
                <div class="site-state-item site-state-categories">
                  
                    
                      <a href="/yykrlc_bolg/categories/">
                    
                  
                    
                    
                      
                    
                    <span class="site-state-item-count">1</span>
                    <span class="site-state-item-name">分类</span>
                  </a>
                </div>
              

              
                
                
                <div class="site-state-item site-state-tags">
                  
                    
                      <a href="/yykrlc_bolg/tags/">
                    
                  
                    
                    
                      
                    
                      
                    
                    <span class="site-state-item-count">2</span>
                    <span class="site-state-item-name">标签</span>
                  </a>
                </div>
              
            </nav>
          

          

          

          

          

          
          
            <div class="links-of-blogroll motion-element links-of-blogroll-block">
              <div class="links-of-blogroll-title">
                <i class="fa  fa-fw fa-link"></i>
                友情链接
              </div>
              <ul class="links-of-blogroll-list">
                
                  <li class="links-of-blogroll-item">
                    <a href="http://www.baidu.com" title="http://www.baidu.com" rel="noopener" target="_blank">百度</a>
                  </li>
                
              </ul>
            </div>
          

          
            
          
          

        </div>
      </div>

      

      

    </div>
  </aside>
  


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">  <a href="http://www.beian.miit.gov.cn" rel="noopener" target="_blank">yykrlc </a>&copy; <span itemprop="copyrightYear">2019</span>
  <span class="with-love" id="animate">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">yykrlc</span>

  

  
</div>









        








        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
          <span id="scrollpercent"><span>0</span>%</span>
        
      </div>
    

    

    

    
  </div>

  

<script>
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>














  
    
    
  
  <script color="0,0,255" opacity="0.5" zindex="-1" count="99" src="/yykrlc_bolg/lib/canvas-nest/canvas-nest.min.js"></script>











  



  
  <script src="/yykrlc_bolg/lib/jquery/index.js?v=2.1.3"></script>

  
  <script src="/yykrlc_bolg/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script src="/yykrlc_bolg/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script src="/yykrlc_bolg/lib/reading_progress/reading_progress.js"></script>


  


  <script src="/yykrlc_bolg/js/utils.js?v=7.1.1"></script>

  <script src="/yykrlc_bolg/js/motion.js?v=7.1.1"></script>



  
  


  <script src="/yykrlc_bolg/js/affix.js?v=7.1.1"></script>

  <script src="/yykrlc_bolg/js/schemes/pisces.js?v=7.1.1"></script>




  
  <script src="/yykrlc_bolg/js/scrollspy.js?v=7.1.1"></script>
<script src="/yykrlc_bolg/js/post-details.js?v=7.1.1"></script>



  


  <script src="/yykrlc_bolg/js/next-boot.js?v=7.1.1"></script>


  
  <script src="/yykrlc_bolg/js/js.cookie.js?v=7.1.1"></script>
  <script src="/yykrlc_bolg/js/scroll-cookie.js?v=7.1.1"></script>


  

  

  
  
  <script>
  (function() {
    var appid = 'cys12R3sx';
    var conf = 'c5e29ffe4bfb99523abee6687451a730';
    var width = window.innerWidth || document.documentElement.clientWidth;
    if (width < 960) {
      window.document.write('<script id="changyan_mobile_js" charset="utf-8" type="text/javascript" src="https://changyan.sohu.com/upload/mobile/wap-js/changyan_mobile.js?client_id=' + appid + '&conf=' + conf + '"><\/script>');
    }
    else {
      var loadJs=function(d,a){var c=document.getElementsByTagName("head")[0]||document.head||document.documentElement;var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("charset","UTF-8");b.setAttribute("src",d);if(typeof a==="function"){if(window.attachEvent){b.onreadystatechange=function(){var e=b.readyState;if(e==="loaded"||e==="complete"){b.onreadystatechange=null;a()}}}else{b.onload=a}}c.appendChild(b)};loadJs("https://changyan.sohu.com/upload/changyan.js",function(){window.changyan.api.config({appid:appid,conf:conf})});
    }
  })();
  </script>
  <script src="https://assets.changyan.sohu.com/upload/plugins/plugins.count.js"></script>





  


  
  <script>
    // Popup Window;
    var isfetched = false;
    var isXml = true;
    // Search DB path;
    var search_path = "search.xml";
    if (search_path.length === 0) {
      search_path = "search.xml";
    } else if (/json$/i.test(search_path)) {
      isXml = false;
    }
    var path = "/yykrlc_bolg/" + search_path;
    // monitor main search box;

    var onPopupClose = function (e) {
      $('.popup').hide();
      $('#local-search-input').val('');
      $('.search-result-list').remove();
      $('#no-result').remove();
      $(".local-search-pop-overlay").remove();
      $('body').css('overflow', '');
    }

    function proceedsearch() {
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay"></div>')
        .css('overflow', 'hidden');
      $('.search-popup-overlay').click(onPopupClose);
      $('.popup').toggle();
      var $localSearchInput = $('#local-search-input');
      $localSearchInput.attr("autocapitalize", "none");
      $localSearchInput.attr("autocorrect", "off");
      $localSearchInput.focus();
    }

    // search function;
    var searchFunc = function(path, search_id, content_id) {
      'use strict';

      // start loading animation
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay">' +
          '<div id="search-loading-icon">' +
          '<i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>' +
          '</div>' +
          '</div>')
        .css('overflow', 'hidden');
      $("#search-loading-icon").css('margin', '20% auto 0 auto').css('text-align', 'center');

      

      $.ajax({
        url: path,
        dataType: isXml ? "xml" : "json",
        async: true,
        success: function(res) {
          // get the contents from search data
          isfetched = true;
          $('.popup').detach().appendTo('.header-inner');
          var datas = isXml ? $("entry", res).map(function() {
            return {
              title: $("title", this).text(),
              content: $("content",this).text(),
              url: $("url" , this).text()
            };
          }).get() : res;
          var input = document.getElementById(search_id);
          var resultContent = document.getElementById(content_id);
          var inputEventFunction = function() {
            var searchText = input.value.trim().toLowerCase();
            var keywords = searchText.split(/[\s\-]+/);
            if (keywords.length > 1) {
              keywords.push(searchText);
            }
            var resultItems = [];
            if (searchText.length > 0) {
              // perform local searching
              datas.forEach(function(data) {
                var isMatch = false;
                var hitCount = 0;
                var searchTextCount = 0;
                var title = data.title.trim();
                var titleInLowerCase = title.toLowerCase();
                var content = data.content.trim().replace(/<[^>]+>/g,"");
                
                var contentInLowerCase = content.toLowerCase();
                var articleUrl = decodeURIComponent(data.url).replace(/\/{2,}/g, '/');
                var indexOfTitle = [];
                var indexOfContent = [];
                // only match articles with not empty titles
                if(title != '') {
                  keywords.forEach(function(keyword) {
                    function getIndexByWord(word, text, caseSensitive) {
                      var wordLen = word.length;
                      if (wordLen === 0) {
                        return [];
                      }
                      var startPosition = 0, position = [], index = [];
                      if (!caseSensitive) {
                        text = text.toLowerCase();
                        word = word.toLowerCase();
                      }
                      while ((position = text.indexOf(word, startPosition)) > -1) {
                        index.push({position: position, word: word});
                        startPosition = position + wordLen;
                      }
                      return index;
                    }

                    indexOfTitle = indexOfTitle.concat(getIndexByWord(keyword, titleInLowerCase, false));
                    indexOfContent = indexOfContent.concat(getIndexByWord(keyword, contentInLowerCase, false));
                  });
                  if (indexOfTitle.length > 0 || indexOfContent.length > 0) {
                    isMatch = true;
                    hitCount = indexOfTitle.length + indexOfContent.length;
                  }
                }

                // show search results

                if (isMatch) {
                  // sort index by position of keyword

                  [indexOfTitle, indexOfContent].forEach(function (index) {
                    index.sort(function (itemLeft, itemRight) {
                      if (itemRight.position !== itemLeft.position) {
                        return itemRight.position - itemLeft.position;
                      } else {
                        return itemLeft.word.length - itemRight.word.length;
                      }
                    });
                  });

                  // merge hits into slices

                  function mergeIntoSlice(text, start, end, index) {
                    var item = index[index.length - 1];
                    var position = item.position;
                    var word = item.word;
                    var hits = [];
                    var searchTextCountInSlice = 0;
                    while (position + word.length <= end && index.length != 0) {
                      if (word === searchText) {
                        searchTextCountInSlice++;
                      }
                      hits.push({position: position, length: word.length});
                      var wordEnd = position + word.length;

                      // move to next position of hit

                      index.pop();
                      while (index.length != 0) {
                        item = index[index.length - 1];
                        position = item.position;
                        word = item.word;
                        if (wordEnd > position) {
                          index.pop();
                        } else {
                          break;
                        }
                      }
                    }
                    searchTextCount += searchTextCountInSlice;
                    return {
                      hits: hits,
                      start: start,
                      end: end,
                      searchTextCount: searchTextCountInSlice
                    };
                  }

                  var slicesOfTitle = [];
                  if (indexOfTitle.length != 0) {
                    slicesOfTitle.push(mergeIntoSlice(title, 0, title.length, indexOfTitle));
                  }

                  var slicesOfContent = [];
                  while (indexOfContent.length != 0) {
                    var item = indexOfContent[indexOfContent.length - 1];
                    var position = item.position;
                    var word = item.word;
                    // cut out 100 characters
                    var start = position - 20;
                    var end = position + 80;
                    if(start < 0){
                      start = 0;
                    }
                    if (end < position + word.length) {
                      end = position + word.length;
                    }
                    if(end > content.length){
                      end = content.length;
                    }
                    slicesOfContent.push(mergeIntoSlice(content, start, end, indexOfContent));
                  }

                  // sort slices in content by search text's count and hits' count

                  slicesOfContent.sort(function (sliceLeft, sliceRight) {
                    if (sliceLeft.searchTextCount !== sliceRight.searchTextCount) {
                      return sliceRight.searchTextCount - sliceLeft.searchTextCount;
                    } else if (sliceLeft.hits.length !== sliceRight.hits.length) {
                      return sliceRight.hits.length - sliceLeft.hits.length;
                    } else {
                      return sliceLeft.start - sliceRight.start;
                    }
                  });

                  // select top N slices in content

                  var upperBound = parseInt('1');
                  if (upperBound >= 0) {
                    slicesOfContent = slicesOfContent.slice(0, upperBound);
                  }

                  // highlight title and content

                  function highlightKeyword(text, slice) {
                    var result = '';
                    var prevEnd = slice.start;
                    slice.hits.forEach(function (hit) {
                      result += text.substring(prevEnd, hit.position);
                      var end = hit.position + hit.length;
                      result += '<b class="search-keyword">' + text.substring(hit.position, end) + '</b>';
                      prevEnd = end;
                    });
                    result += text.substring(prevEnd, slice.end);
                    return result;
                  }

                  var resultItem = '';

                  if (slicesOfTitle.length != 0) {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + highlightKeyword(title, slicesOfTitle[0]) + "</a>";
                  } else {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + title + "</a>";
                  }

                  slicesOfContent.forEach(function (slice) {
                    resultItem += "<a href='" + articleUrl + "'>" +
                      "<p class=\"search-result\">" + highlightKeyword(content, slice) +
                      "...</p>" + "</a>";
                  });

                  resultItem += "</li>";
                  resultItems.push({
                    item: resultItem,
                    searchTextCount: searchTextCount,
                    hitCount: hitCount,
                    id: resultItems.length
                  });
                }
              })
            };
            if (keywords.length === 1 && keywords[0] === "") {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-search fa-5x"></i></div>'
            } else if (resultItems.length === 0) {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-frown-o fa-5x"></i></div>'
            } else {
              resultItems.sort(function (resultLeft, resultRight) {
                if (resultLeft.searchTextCount !== resultRight.searchTextCount) {
                  return resultRight.searchTextCount - resultLeft.searchTextCount;
                } else if (resultLeft.hitCount !== resultRight.hitCount) {
                  return resultRight.hitCount - resultLeft.hitCount;
                } else {
                  return resultRight.id - resultLeft.id;
                }
              });
              var searchResultList = '<ul class=\"search-result-list\">';
              resultItems.forEach(function (result) {
                searchResultList += result.item;
              })
              searchResultList += "</ul>";
              resultContent.innerHTML = searchResultList;
            }
          }

          if ('auto' === 'auto') {
            input.addEventListener('input', inputEventFunction);
          } else {
            $('.search-icon').click(inputEventFunction);
            input.addEventListener('keypress', function (event) {
              if (event.keyCode === 13) {
                inputEventFunction();
              }
            });
          }

          // remove loading animation
          $(".local-search-pop-overlay").remove();
          $('body').css('overflow', '');

          proceedsearch();
        }
      });
    }

    // handle and trigger popup window;
    $('.popup-trigger').click(function(e) {
      e.stopPropagation();
      if (isfetched === false) {
        searchFunc(path, 'local-search-input', 'local-search-result');
      } else {
        proceedsearch();
      };
    });

    $('.popup-btn-close').click(onPopupClose);
    $('.popup').click(function(e){
      e.stopPropagation();
    });
    $(document).on('keyup', function (event) {
      var shouldDismissSearchPopup = event.which === 27 &&
        $('.search-popup').is(':visible');
      if (shouldDismissSearchPopup) {
        onPopupClose();
      }
    });
  </script>





  

  

  

  

  

  
  <script>
    (function(){
      var bp = document.createElement('script');
      var curProtocol = window.location.protocol.split(':')[0];
      bp.src = (curProtocol === 'https') ? 'https://zz.bdstatic.com/linksubmit/push.js' : 'http://push.zhanzhang.baidu.com/push.js';
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(bp, s);
    })();
  </script>


  

  

  

  
  
  
  <script src="/yykrlc_bolg/lib/pangu/dist/pangu.min.js?v=3.3"></script>
  <script>pangu.spacingPage();</script>


  
  
  
  <script src="/yykrlc_bolg/lib/bookmark/bookmark.min.js?v=1.0"></script>
  <script>
  
    bookmark.scrollToMark('auto', "#更多");
  
  </script>


  
<script>
  $('.highlight').not('.gist .highlight').each(function(i, e) {
    var $wrap = $('<div>').addClass('highlight-wrap');
    $(e).after($wrap);
    $wrap.append($('<button>').addClass('copy-btn').append('复制').on('click', function(e) {
      var code = $(this).parent().find('.code').find('.line').map(function(i, e) {
        return $(e).text();
      }).toArray().join('\n');
      var ta = document.createElement('textarea');
      var yPosition = window.pageYOffset || document.documentElement.scrollTop;
      ta.style.top = yPosition + 'px'; // Prevent page scroll
      ta.style.position = 'absolute';
      ta.style.opacity = '0';
      ta.readOnly = true;
      ta.value = code;
      document.body.appendChild(ta);
      ta.select();
      ta.setSelectionRange(0, code.length);
      ta.readOnly = false;
      var result = document.execCommand('copy');
      
      ta.blur(); // For iOS
      $(this).blur();
    })).on('mouseleave', function(e) {
      var $b = $(this).find('.copy-btn');
      setTimeout(function() {
        $b.text('复制');
      }, 300);
    }).append(e);
  })
</script>


  

  

</body>
</html>
